Pergunta de entrevista da empresa Microsoft

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

Resposta da entrevista

Sigiloso

23 de fev. de 2011

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

6