Reverse the order of words in a string
Filed under Veritas
The question
Given a string of words (e.g., "this is a book") and a reverse function, reverse the words in the string so the output is "book a is this".
No write-up yet. Related questions below have one.
Related Veritas questions
Collected from public candidate posts and coding forums. Updated Nov 2026.