Problem bank
MediumGraphsNeetCode 150 · #88/150

Course Schedule II

  1. 1
    Learn the pattern

    Grid or network traversal → BFS for shortest path, DFS for connectivity/shape. Track visited on push.

  2. 2
    Watch it run

    See this exact pattern animated step by step before you touch the keyboard.

    Open visualizer
  3. 3
    Solve it

    Solve it on LeetCode, then mark it solved here to keep your streak alive.

Course ScheduleRedundant Connection