Sollicitatievraag bij Microsoft

Write a C++ code to reverse the order of words in a string, without using any additional buffer.

Antwoord op sollicitatievraag

Anoniem

23 feb 2011

1. Flip the entire string 2. Flip each word of the reversed string.

6