>RunTimeFix
BookStudyPracticeInterviewsYouTubeCoursesAbout
Log inGet Started
Practice/Graph Traversal
5 subtopics · 21 problems

Graph Traversal

BFS, DFS, connected components, multi-source BFS, 0-1 BFS, and bipartite checking.

01Basic BFS

Standard BFS on graphs and grids — shortest path in unweighted graphs.

2 easy2 medium1 hard
ProblemDifficultyLink
1843CSum in Binary TreeeasySolve
580CKefa and ParkeasySolve
1272DRemove One ElementmediumSolve
1900CAnji's Binary TreemediumSolve
1886CIs It Flower?hardSolve

02Multi-Source BFS

Start BFS from multiple sources simultaneously.

1 easy1 medium2 hard
ProblemDifficultyLink
1921CSending MessageseasySolve
1904BCollecting GamemediumSolve
1063BLabyrinthhardSolve
1881FMinimum Maximum DistancehardSolve

030-1 BFS

BFS on graphs with edge weights 0 and 1 using a deque.

3 hard
ProblemDifficultyLink
1063BLabyrinthhardSolve
1862EKolya and Movie TheatrehardSolve
1837EPlayoff FixinghardSolve

04DFS & Connected Components

Traverse graphs, find connected components, flood fill.

2 easy2 medium1 hard
ProblemDifficultyLink
1873D1D ErasereasySolve
277ALearning LanguageseasySolve
1843DApple TreemediumSolve
1144FGraph Without Long Directed PathsmediumSolve
1886CIs It Flower?hardSolve

05Bipartite Checking

2-color a graph — if it fails, the graph has an odd cycle.

3 medium1 hard
ProblemDifficultyLink
1144FGraph Without Long Directed PathsmediumSolve
1862CFlower City FencemediumSolve
1862DIce Cream BallsmediumSolve
1881FMinimum Maximum DistancehardSolve
All TopicsStudy the Theory
Was this helpful?
>RunTimeFix

Practical programming education. Books, videos, courses, and hands-on learning for competitive programming, DSA, and software engineering.

RunTimeFix

  • About
  • YouTube
  • Book
  • Study Library
  • Courses

Learn

  • Competitive Programming
  • DSA
  • Development
  • Databases

Legal

  • Privacy
  • Terms
  • Refund Policy

RunTimeFix — debug → solve → run

© 2026 RunTimeFix. All rights reserved.