InterviewLegend

Windows, Matrices and Ranges

Alex Chen45 min readUpdated 38 real interview reports

The four problems below scan an array or a grid in about one pass. Waymo screens have asked three of them in their plain LeetCode form, so the first answer should come quickly. Save your time for the follow-up, such as splitting the work across cores or answering after every new input.

One comes from an SRE screen and one from a new-grad phone interview. Another arrived with a request to run it in parallel.

Each one depends on what you keep between steps, whether that's a deque of indices or a table of running totals. Name that state before you code, and say what one update costs.

WaymoPremium lesson · Coding round

The 4 Waymo problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Hard
  3. A Premium questionCoding · Easy

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Waymo questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

Had your Waymo interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Waymo interview guide

Know what Waymo asks before you walk in.

29 coding · 3 system design · 15 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.