Pregunta de entrevista de Microsoft

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

Respuesta de la entrevista

Anónimo

23 feb 2011

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

6