Arc 3: The Canopy (C++ for FAANG Interviews)
by Eric Wucrsman
$2
Arc 1 gave you the C++ and complexity foundation. Arc 2 covered the linear patterns. Arc 3 is where interviews get harder — non-linear structures and the recursive thinking that most candidates never fully internalize.
Five chapters:
Chapter 10 — Binary Trees
Terminology & properties · pointer- and array-based representations · all four traversal orders, recursive and iterative · height, depth & diameter · lowest common ancestor · path sum problems · tree views (left/right/top/bottom) · serialization & deserialization
Chapter 11 — Binary Search Trees
BST invariants · search, insert & delete · why inorder traversal gives sorted order · BST validation · successor, predecessor & kth element · balanced vs. unbalanced · augmented BSTs / order-statistics trees
Chapter 12 — Heaps & Priority Queues
Min-heap vs. max-heap internals · std::priority_queue end to end · make_heap/push_heap/pop_heap · heap sort · Top-K elements · K-way merge · the Two Heaps pattern for streaming medians
Chapter 13 — Tries (Prefix Trees)
Array vs. hash-map children · insert/search/startsWith · deletion · autocomplete & prefix patterns · the Bit Trie for XOR maximization · compressed tries / radix trees
Chapter 14 — Segment Tree & Fenwick Tree
When you actually need range-query structures · building, querying & updating a segment tree · lazy propagation for O(log n) range updates · Fenwick trees (BIT) · segment tree vs. Fenwick decision guide · coordinate compression
Every chapter pairs the theory with numbered LeetCode problems and a full worked approach — recursion, traversal, and range-query patterns you'll actually recognize mid-interview, not just understand in the abstract.
Bonus: each of the 5 chapters ends with a unique access code — redeem it at dsadayone.com to unlock that chapter's collectible card.
🔜 Arc 4 continues into graphs. Go get it.