Time Inc. Interview Question

Reverse a string in place.

Interview Answer

Anonymous

Sep 8, 2019

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