Problem 3758 · Medium

Convert Number Words to Digits

Scan left to right and replace each spelled-out digit word with its digit, jumping past the letters it consumed.

Open the interactive visualisation