Minimum Score of a Path Between Two Cities

Problem: Minimum Score of a Path Between Two Cities

You are given a connected undirected graph with n cities numbered from 1 to n. The roads are described by roads, where `roads[i] = [a_i,...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: