← Questions

Find dictionary words that stretch into a given string

0
WaymoCodingLast asked Jun 2026

A word can produce a string by repeating some of its letters in place: help can produce heellp. Given the string and a dictionary, return every dictionary word that could produce it. Compare the two by runs of equal letters.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding