Graph Algorithms Roadmap

BFS, DFS, Union-Find, topological sort, and shortest paths for interviews.

  1. 1.BFS & DFS

    Number of Islands, Clone Graph, Course Schedule

    #Title
    200Number of Islands
    133Clone Graph
    207Course Schedule
  2. 2.Union-Find & connectivity

    Redundant Connection style connectivity problems

    #Title
    200Number of Islands
    305Number of Islands II
    323Number of Connected Components in an Undirected Graph
    399Evaluate Division
    547Friend Circles
    684Redundant Connection
    685Redundant Connection II
    721Accounts Merge
  3. 3.Advanced

    Word Ladder, Cheapest Flights, critical edges

    #Title
    127Word Ladder
    787Cheapest Flights Within K Stops