Problem 1694 · Easy

Reformat Phone Number

Strip separators from a phone number and regroup the digits into blocks of two or three. The visual shows the digits as a row and splits them into grouped blocks.

Open the interactive visualisation