Find the minimum security level S needed to travel from u to v in a directed graph.
Unlock detailed company stats for this questionUpgrade
Given a directed graph where every edge has a security level, find the minimum value of S needed to travel from u to v. An edge can be traversed only if its security level is less than S.
The interviewer asked how the approach changes for cases such as negative security levels and cycles, and probed the choice of data structure (queue vs priority queue) and its effect on operations and time complexity.
Community answers
No answers contributed by the community yet.
Related questions
Find the minimum cost from S to T in a directed graph where edge costs grow with steps.Find the minimum fuel cost to travel from city A to city B.Find the minimum initial health a knight needs to travel from the top-left to the bottom-right of a grid.Related courses

Course

Course
Course
