Skip to content

DSA learning path

Trees & Graphs

BFS, DFS, recursion and topological order.

Problems in this path

  1. Maximum Depth of a Binary Tree
    Easy · Depth-First Search
    Open
  2. Level Order Traversal
    Medium · Breadth-First Search
    Open
  3. Validate a Binary Search Tree
    Medium · Depth-First Search
    Open
  4. Number of Islands
    Medium · Grid DFS
    Open
  5. Course Schedule
    Medium · Topological Sort
    Open
  6. Shortest Paths with Dijkstra
    Medium · Dijkstra's Algorithm
    Open
  7. Minimum Cost to Connect a Graph
    Hard · Kruskal + Union-Find
    Open
  8. Binary Tree Inorder Traversal
    Easy · Iterative Tree Stack
    Open
  9. Binary Tree Diameter
    Medium · Postorder Heights
    Open
  10. Check Tree Height Balance
    Easy · Sentinel Postorder
    Open

Read first