Reverse Words in a String: Interactive Visualizer

Reverse the order of words in a string, cleaning up extra spaces.