Domanda di colloquio di Xtreme Labs

Given a string containing many words, reverse the word order without allocation any additional memory.

Risposta di colloquio

Anonimo

27 giu 2013

1. Reverse all characters in the Array. 2. Reverse the characters in each word.