Sort a sentence string by first letter of words
Filed under ValueLabs
The question
Write code to sort a sentence string with respect to the first letter of each word (e.g., input 'india won the match' to output 'india match the won').
No write-up yet. Related questions below have one.
Related ValueLabs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.