← Questions

Find dictionary words that stretch into a given string

0
WaymoCodingLast asked Sep 2026

A coding interview question asked in Waymo's coding round, last asked Sep 2026. It tests strings, two pointers and run-length encoding.

A word can produce a string by repeating some of its letters in place: help produces heellp by repeating e and l. Given a string and a dictionary, return every dictionary word that could produce it.

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

strings · two pointers · run-length encoding

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