Nearby Values Within Index and Value Distance
Asked at Waymo · Coding Questions · Difficulty: Hard · Last asked May 15, 2026
Given an array of integers, decide whether two different positions hold values that are close to each other and also close in index. This kind of check appears when detecting near-duplicate readings in a stream within a recent window.
Loading the problem…
More Waymo interview questions
- ML System Design: Choose Passenger Drop-off Location
- ML Coding: Debug a NumPy / Tensor Framework
- L5+ Behavioral: Policy vs Efficiency Trade-offs & Leadership
- Project Deep-Dive + ML Fundamentals Discussion
- Pickup Request Scheduler (OO Design)
- Build an Arithmetic Expression to Reach a Target