Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2492. Minimum Score of a Path Between Two Cities
Given an undirected weighted graph, find the minimum possible path score between city 1 and city n, where a path's score is the smallest edge weight along that path. This reduces to finding the connected component containing 1 and n and returning the minimum edge weight inside that component (use BFS/DFS or Union-Find to identify the component).
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early February, 2025
Amazon
Mid-level
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.