Time Inc. interview question

Reverse a string in place.

Interview Answer

Anonymous

8 Sept 2019

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