Skip to main content

Advanced Data Structures

Advanced data structures for solving complex algorithmic problems efficiently. These structures provide specialized operations for specific use cases.

Learning Map​

Advanced data structures organized by complexity and application.

Prerequisites​

What's in scope​

  • Trie (Prefix Tree): String prefix problems, word search, autocomplete, and dictionary problems
  • Segment Tree: Range queries, range updates, lazy propagation, and 2D segment trees
  • Fenwick Tree: Prefix sum queries, range sum updates, inversion count, and 2D applications
  • Disjoint Set Union: Union & find operations, path compression, union by rank, and cycle detection

How to use this section​