Shortest Path

1 problem using this pattern

About this pattern:

A useful algorithmic pattern for solving coding problems efficiently.

Often used with: BFS Graph

Complexity Range

Time Complexity

O(V + E) (1 problem)

Space Complexity

O(V) (1 problem)

Problems Using Shortest Path

← Back to All Patterns