S SmartDocs

程式語言

Python、C、C++、Java、JavaScript、TypeScript、Go、R 與 Haskell 教學,從入門語法到進階技巧。

Go EN 更新於 2026-04-18

Chapter 7 — Interfaces

An interface is a set of method signatures. Any type that has all of those methods satisfies the interface — automatically, without declaring intent. This is called structural or implicit typing.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 8 — Pointers and Memory

A pointer holds the memory address of a value. The type of a pointer to T is T. The zero value of any pointer is nil.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 9 — Generics

Generics arrived in Go 1.18 March 2022. They let you write functions and types that work on a parametric set of types, with compiletime type checking.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 10 — Concurrency

"Don't communicate by sharing memory; share memory by communicating." — Rob Pike

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 11 — Testing

Go's standard library includes everything you need for testing: the testing package plus the go test command.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 12 — Modules and Dependencies

A module is a unit of versioning and distribution: a tree of Go packages identified by a module path, with explicit dependencies and a recorded build list. Modules replaced the older GOPATH workflow in Go 1.11+ and have

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 13 — Practical Go

A grab bag of the topics you need most often in real services: HTTP, JSON, logging, configuration, structured project layout, and a few productionready patterns.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 1 — Arrays and Slices

Array NT — fixed length, length is part of the type, value semantics. Rarely used directly. Slice T — {ptr, len, cap} view into a backing array. Reference semantics for the underlying data. Used everywhere.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 2 — Stack

A stack is a LIFO lastin, firstout container with two main operations:

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 3 — Queue Ring Buffer

A queue is a FIFO firstin, firstout container. The two main operations are:

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 4 — Sorting

Sorting is the canonical algorithms topic. Knowing several sorts and their tradeoffs is part of any working programmer's vocabulary. This chapter implements five classic algorithms in Go and explains when to use each.

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 5 — Hash Tables

A hash table maps keys to values with expected O1 lookup, insert, and delete. The trick: a hash function turns a key into an integer, which is reduced modulo the bucket count into an index, and an entry is stored at that

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 6 — Binary Heap Priority Queue

A binary heap is an arraybased complete binary tree that satisfies the heap property:

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 7 — Balanced Binary Search Tree AVL

A binary search tree BST stores keys so that for every node N:

閱讀文章 →
Go EN 更新於 2026-04-18

Chapter 8 — Graphs

A graph is a set of vertices connected by edges. Edges may be:

閱讀文章 →
Go EN 更新於 2026-04-18

Design considerations & assumptions

This document satisfies the Checkout.com offline assessment request to capture key design considerations and assumptions.

閱讀文章 →
Go EN 更新於 2026-04-18

Payment Gateway Challenge Go + Echo + PostgreSQL

Implementation of the Checkout.com offline paymentgateway assessmenthttps://github.com/ckorecruitment/offlinecodinginterviewpreparation, using Go, Echo, PostgreSQL, and the official Mountebank bank simulator from the ref

閱讀文章 →
JavaScript EN 更新於 2026-02-03

🎉 JavaScript Full Curriculum COMPLETE

I've successfully created 8 complete modules with 80 detailed lessons and extensive code examples. This represents 100% of the entire curriculum and provides students with comprehensive JavaScript and fullstack developme

閱讀文章 →
JavaScript EN 更新於 2026-02-03

🎯 JavaScript Full Curriculum Complete Package

I've created a comprehensive JavaScript curriculum package that includes:

閱讀文章 →
JavaScript EN 更新於 2026-02-03

🚀 Quick Start Guide for Instructors

This JavaScript curriculum is designed to take students from absolute beginners to fullstack developers. Here's how to use it effectively:

閱讀文章 →
JavaScript EN 更新於 2026-02-03

🎯 JavaScript Full Curriculum MAJOR MILESTONE ACHIEVED

I've successfully created 6 complete modules with 60 detailed lessons and extensive code examples. This represents 75% of the entire curriculum and provides students with comprehensive JavaScript and fullstack developmen

閱讀文章 →
JavaScript EN 更新於 2026-02-03

🎯 JavaScript Full Curriculum — "From Zero to FullStack Ready"

A comprehensive, handson JavaScript curriculum designed to take students from absolute beginners to fullstack developers ready for production work.

閱讀文章 →
JavaScript EN 更新於 2026-02-03

Module 1: JavaScript Foundations

Goal: Understand JavaScript syntax, variables, operators, and basic programming logic.

閱讀文章 →
JavaScript EN 更新於 2026-02-03

Lesson 1: Introduction to Programming & JavaScript

By the end of this lesson, you will be able to:

閱讀文章 →