Dell Technologies interview question

reverse the order of words in a string sentence, without using an extra buffer

Interview Answer

Anonymous

2 May 2014

1. reverse the letters of the string 2. iterate over the string and reverse the letters of each word