从零开始
打好基础
付诸实践
深入探索
精通AI
关于AI、教育和技术的最新文章
让AI教育触达每一个人、每一个角落
开源、多语言、社区驱动
在 GitHub 上公开构建
精雕细琢——中级模式
通过中级算法模式进阶:双指针、滑动窗口、BFS/DFS 和树遍历。每个模式都与真实的AI/ML应用场景关联。
前置要求: AI 草图或同等基础
Master two essential patterns for scanning sequences without wasting computation.
Explore tree structures that power decision-making from databases to machine learning.
Learn the traversal and shortest-path algorithms that power maps, social networks, and web crawlers.
Understand memoisation, tabulation, and classic DP patterns used across AI and computer science.
Understand hashing, collision handling, and the probabilistic structures that accelerate AI systems.
Master the trie data structure for lightning-fast prefix lookups. Build autocomplete, wildcard search, and explore compressed tries and IP routing.
Learn the Union-Find (disjoint set) data structure with path compression and union by rank. Solve connectivity, MST, and graph component problems efficiently.
Learn the monotonic stack and queue patterns to solve next greater element, daily temperatures, histogram, and sliding window problems in O(n) time.
Master interval-based problems from merge and insert to meeting rooms and sweep lines. Learn the sorting strategies and patterns interviewers expect.
Unlock bit-level thinking for coding interviews. Master XOR cancellation, Brian Kernighan's trick, bit masking for subsets, and practical applications.