Henry Zhang Books

LeetCode for 5-Year-Olds

LeetCode for 5-Year-Olds

给五岁孩子的LeetCode

2 parts · 17 chapters · English · 中文 · audiobook

Data structures and algorithms explained with toys, boxes and races — arrays, stacks, trees, recursion, sorting and the rest, one idea at a time.

Contents

The Puzzles

  1. Introduction
  2. The Magical Number Line (Arrays)
  3. The Treasure Box (Stacks)
  4. The Magical Box (Queues)
  5. The Colorful Toy Box (Hashmaps)
  6. The Magical Puzzle (Linked Lists)
  7. The Jumping Blocks (Binary Trees)
  8. The Maze of Choices (Recursion)
  9. The Fast and Furious Race (Sorting)
  10. The Magical Road (Searching)
  11. The Great Puzzle Solver (Dynamic Programming)
  12. The Super Sorting Box (Heap)
  13. The Maze Solver (Graph Traversal)
  14. The Ultimate Puzzle (Greedy Algorithms)

Closing

  1. Conclusion
  2. About the Author
  3. Also by Henry Zhang

用玩具、盒子和比赛来解释数据结构和算法——数组、栈、树、递归、排序等等,一次一个概念。