InterviewLegend

Lane Change & Vehicle Motion in C++

Alex Chen50 min readGuide updated

If your Zoox loop is with an autonomy or motion planning team, there's a good chance the coding round is a lane change in C++. It usually takes the place of the airline pricing problem that generalist candidates get, though a 2022 motion planning engineer still drew the airline one. Like that problem, it's object-oriented and the code has to run.

Candidates describe it from 2021 through 2025, and it was still being asked in 2026 technical screens. The most detailed account is from 2021. In a 45-minute C++ interview, a candidate was asked for three functions. The first checked whether the change was safe, the second found which other vehicles to worry about, and the third computed the most a Premium question. Later reports describe more pieces, and the problems below take them one at a time.

The Zoox angle
The round comes in scenarios. A June 2025 motion planning candidate called it "C++ data structure heavy" and wrote, "I could only get through one scenario and was not called back." Choose structures that make the next scenario a small edit, and get the first one running before you design for the third.

ZooxPremium lesson · Coding round

The 5 Zoox problems are below.

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

+ 2 more in this lesson

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

Get the Zoox questions

$49 a year · all 108 companies · instant access

20,000+ candidate reports

Zoox interview guide

Know what Zoox asks before you walk in.

21 coding · 4 system design · 30 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Zoox interview?How we research

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