DSA Key Concepts

Trie Fundamentals

Understand shared prefixes as paths, the root, character edges and word-ending markers. Compare fixed child arrays with sparse child maps, and distinguish storing a word from storing its prefix.