S SmartDocs

编程语言

Python、C、C++、Java、JavaScript、TypeScript、Go、R 与 Haskell 教程,从入门语法到高级技巧。

Go EN 更新于 2026-04-18

Chapter 5 — Hash Tables

A hash table maps keys to values with expected O(1) 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

阅读文章 →
Go EN 更新于 2026-04-18

Chapter 6 — Binary Heap (Priority Queue)

A binary heap is an array-based 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: All keys in the left subtree are < N.key. All keys in the right subtree are > N.key.

阅读文章 →
Go EN 更新于 2026-04-18

Chapter 8 — Graphs

A graph is a set of vertices connected by edges. Edges may be: Directed (arrows) or undirected (lines). Weighted (edge has a number) or unweighted.

阅读文章 →
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 payment-gateway assessment, using Go, Echo, PostgreSQL, and the official Mountebank bank simulator from the reference repo.

阅读文章 →
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 full-stack developm

阅读文章 →
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 full-stack 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 full-stack developme

阅读文章 →
JavaScript EN 更新于 2026-02-03

🎯 JavaScript Full Curriculum — "From Zero to Full-Stack Ready"

A comprehensive, hands-on JavaScript curriculum designed to take students from absolute beginners to full-stack 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: Understand what JavaScript is and why it matters Know where JavaScript runs (browser + Node.js) Set up your development environment Write your first "Hello World" program U

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 2: Variables and Data Types

By the end of this lesson, you will be able to: Understand what variables are and why we use them Declare variables using var, let, and const Identify and work with different data types Convert between different data typ

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 3: Operators

By the end of this lesson, you will be able to: Use arithmetic operators for calculations Apply assignment operators to store results Compare values with comparison operators Combine conditions with logical operators Use

阅读文章 →
JavaScript EN 更新于 2026-02-03

Module 2: Intermediate JavaScript

Goal: Understand deeper language features and modern syntax (ES6+).

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 1: Scope and Hoisting

By the end of this lesson, you will be able to: Understand global vs local scope Explain lexical scope and scope chain Understand hoisting behavior with var, let, and const Identify scope-related bugs and avoid them Writ

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 10: Mini Project - To-Do List App

By the end of this lesson, you will be able to: Build a complete interactive web application Combine all concepts from Module 2 Use DOM manipulation, events, and localStorage Create a functional to-do list with add/remov

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 2: Destructuring & Spread/Rest

By the end of this lesson, you will be able to: Extract values from arrays using destructuring Extract properties from objects using destructuring Use spread operator to expand arrays and objects Use rest operator to col

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 3: Template Literals

By the end of this lesson, you will be able to: Create dynamic strings using template literals Embed variables and expressions in strings Write multi-line strings without concatenation Use template literals for complex s

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 4: Modules & Imports/Exports

By the end of this lesson, you will be able to: Understand what modules are and why they're important Export functions, variables, and objects from modules Import code from other modules Use default exports vs named expo

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 5: Classes and OOP

By the end of this lesson, you will be able to: Create classes using the class keyword Define constructors and methods Create instances of classes Understand inheritance with extends Use super() to call parent constructo

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 6: Error Handling

By the end of this lesson, you will be able to: Use try, catch, and finally blocks Throw custom errors Handle different types of errors Create custom error classes Write robust error handling code

阅读文章 →
JavaScript EN 更新于 2026-02-03

Lesson 7: DOM Manipulation Basics

By the end of this lesson, you will be able to: Select elements using querySelector and querySelectorAll Change element content with innerText and innerHTML Modify element styles dynamically Add and remove CSS classes Cr

阅读文章 →