Given a string, this program will reverse the order of the words.
The candidate's solution is correct and demonstrates a level of completeness. The candidate has correctly identified that the optimal solution is to split the string into an array of words, reverse the array, and then join the array back into a string. This is a linear time solution.
Evaluated at: 2022-11-21 02:16:43