Pergunta de entrevista da empresa Microsoft

Reverse words in a String

Respostas da entrevista

Sigiloso

5 de fev. de 2011

You have reverse the string and then reverse each word

Sigiloso

5 de nov. de 2015

Another approach is to tokenize the string on the basis of space and then reverse each word