Quick Overview

Return the minimum number of roads from a named landing location to any supply location in a large undirected, unweighted network. Handle supplies at the start, disconnected regions, multiple nearest supplies, and an empty supply set.

Find the Nearest Supply Location in a Road Network

Company: LinkedIn

Role: DevOps Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Quick Answer: Return the minimum number of roads from a named landing location to any supply location in a large undirected, unweighted network. Handle supplies at the start, disconnected regions, multiple nearest supplies, and an empty supply set.

Loading…