Domanda di colloquio di Microsoft

Reverse words in a String

Risposte di colloquio

Anonimo

5 feb 2011

You have reverse the string and then reverse each word

Anonimo

5 nov 2015

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