Checking Existence of Edge Length Limited Paths

Problem overview from a real Uber interview:

Evaluate graph queries to return a boolean array showing if nodes connect via edges strictly below a distance threshold. An Uber union-find problem.

Check more interview questions and experiences about Uber

Please log in to view interview details