Dell Technologies Interview Question

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

Interview Answer

Anonymous

May 2, 2014

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