← Questions

Format bytes as a hex and ASCII dump

0
WaymoCodingLast asked Aug 2026

A coding interview question asked in Waymo's coding round, last asked Aug 2026. It tests strings, formatting and bytes.

Write a function that formats a byte buffer as a hex dump, one line per fixed-size chunk: the offset, the bytes in hex, and the same bytes as text. Offsets, padding, separators and the last line must be exact.

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 Aug 202645 min · Usually two rounds; some give you the interviewer's buggy code to find and fix, some are read aloud with no skeleton

What it tests

strings · formatting · bytes

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