Problem 925 · Easy

Long Pressed Name

Decide whether a typed string could come from a name where some characters were held down and repeated. The visual aligns the name and the typed text with two markers that advance together.

Open the interactive visualisation