← Questions

Lowest horizontal line that splits squares into equal areas

0
WaymoGoogleCodingLast asked Sep 2026

A coding interview question asked in Waymo's coding round and at Google, last asked Sep 2026. It tests binary-search, geometry and sweep line.

Square cakes sit on a table, sides parallel to its edges. You cut once along a horizontal line y = h across the whole table.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Waymo · Coding · Last asked Sep 202645 min · Usually two rounds; some give you the interviewer's buggy code to find and fix, some are read aloud with no skeleton
  • Google · First round: coding · Last asked Jan 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI

What it tests

binary-search · geometry · sweep line

Your code and the AI tutor open when you unlock this question.