Topics

20

Duration

40 Weeks

Progress

0/20

Learning Progress0%
Competitive Programming Roadmap

Trees

Learning Path

Follow these concepts in order to master this topic.

1
Introduction to Trees
2
Tree Terminology
3
Rooted Trees
4
Binary Trees
5
Binary Search Trees
6
N-ary Trees
7
Tree Representation
8
DFS on Trees
9
BFS on Trees
10
Preorder Traversal
11
Inorder Traversal
12
Postorder Traversal
13
Tree Height & Depth
14
Tree Diameter
15
Tree Centers
16
Lowest Common Ancestor (LCA)
17
Binary Lifting
18
Euler Tour Technique
19
Subtree Queries
20
Tree Dynamic Programming
21
Rerooting DP
22
Fenwick Tree on Euler Tour
23
Segment Tree on Trees
24
Heavy-Light Decomposition
25
Virtual Trees
26
Contest Tree Patterns

Video Courses

Recommended free video courses.

Practice Websites

Practice what you've learned.

Projects

Apply what you've learned by building real projects.

Build a Complete Tree Algorithms Library
Advanced
Implement LCA, Tree DP, Euler Tour & HLD from Scratch
Advanced
Solve 100 Tree Problems
Advanced

Tools

Recommended tools for this topic.