← Questions

N-th number whose digits are all 3, 5 or 6

0
WaymoCodingLast asked Sep 2026

A coding interview question asked in Waymo's coding round, last asked Sep 2026. It tests math, number systems and combinatorics.

A positive integer is good if each of its decimal digits is 3, 5 or 6. In increasing order the good numbers are 3, 5, 6, 33, 35, 36, 53, 55, 56, 63, 65, 66, 333, ....

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

What it tests

math · number systems · combinatorics

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