Pregunta de entrevista de Time Inc.

Reverse a string in place.

Respuesta de la entrevista

Anónimo

8 sep 2019

Use 2 pointers. Increment one, decrement the other and swap.