~/problems
Problems
Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.
Advanced & competitive
More shortest paths
Bellman-Ford, Floyd-Warshall, 0-1 BFS.
6 problems
Advanced & competitive
More shortest paths Bellman-Ford, Floyd-Warshall, 0-1 BFS.
- Basics: Bellman-Ford with negative edges basics py · c++ · java easy
- Fewest climbs on the hiking trails py · c++ · java easy
- Minimum Cost to Make at Least One Valid Path in a Grid py · c++ · java medium
- All-pairs shortest routes py · c++ · java easy
- Highest finishing score, or unbounded py · c++ · java medium
- Currency arbitrage with fees Optiver py · c++ · java medium