Normalize consecutive tab sequences in a string
Filed under American Express
The question
Given a string containing multiple consecutive tab sequences like "/t/t/t", write code to convert them all into a single "/t".
No write-up yet. Related questions below have one.
Related American Express questions
Collected from public candidate posts and coding forums. Updated Nov 2026.