>RunTimeFix
BookStudyPracticeInterviewsYouTubeCoursesAbout
Log inGet Started
Practice/Shortest Paths
3 subtopics · 13 problems

Shortest Paths

Dijkstra, Bellman-Ford, Floyd-Warshall — weighted shortest path algorithms.

01Dijkstra's Algorithm

Shortest paths from a single source in non-negative weighted graphs.

2 medium3 hard
ProblemDifficultyLink
20CDijkstra?mediumSolve
1904BCollecting GamemediumSolve
1862EKolya and Movie TheatrehardSolve
1837EPlayoff FixinghardSolve
545EPaths and TreeshardSolve

02Bellman-Ford & SPFA

Handles negative weights; detects negative cycles.

1 medium3 hard
ProblemDifficultyLink
1843ETracking SegmentsmediumSolve
1881EBlock SequencehardSolve
1904DSet To MaxhardSolve
894ERalph and MushroomshardSolve

03Floyd-Warshall Algorithm

All-pairs shortest paths in O(n³).

2 medium2 hard
ProblemDifficultyLink
295BGreg and GraphmediumSolve
1881DDivide and EqualizemediumSolve
1900DSmall GCDhardSolve
1886CIs It Flower?hardSolve
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.