Available question text
Given a weighted graph, find the minimum-cost path from a source to a destination using at most K hops (edges), which forces you to track hop count alongside node state rather than using a plain shortest-path algorithm. This requires DP or layered-state graph techniques (e.g., Bellman-Ford variants, state-expanded Dijkstra, or matrix exponentiation) to handle cycles and large K efficiently.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2714. Find Shortest Path with K Hops
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source