Pergunta de entrevista da empresa ServiceNow

Reverse an array of words using only a single char swap space

Resposta da entrevista

Sigiloso

6 de mar. de 2014

Easy: Reverse entire array, then re-reverse each individual word Hard: Pointers to words, shifting array as you switch word location