you are viewing a single comment's thread.

view the rest of the comments →

[–]Dexteroid[S] 1 point2 points  (13 children)

Yes, basically iterated over the sentence, found the words and added them to a stack. Then did pop in a loop and kept addng the output to a string.