Skip to main content

5 docs tagged with "advanced"

View all tags

Disjoint Set Union (DSU) / Union-Find

A comprehensive guide to Disjoint Set Union (DSU) with visual diagrams, Path Compression, Union by Rank optimizations, step-by-step dry-runs, code templates in Python, Java, and C++, and practice problems.

Segment Tree

A comprehensive guide to Segment Trees with visual diagrams, build/query/update operations, lazy propagation, code templates in Python, Java, and C++, and practice problems.

Segment Tree with Lazy Propagation

A comprehensive guide to Segment Tree with Lazy Propagation, including concept explanation, implementations in C++, Java, and Python, complexity analysis, and practice problems.

Trie (Prefix Tree)

A comprehensive guide to the Trie (Prefix Tree) data structure with visual diagrams, Insert, Search, Delete, and AutoComplete implementations in Python, Java, and C++, and practice problems.