Problem 344 · Easy

Reverse String

Swap characters from both ends with two pointers until they cross.

Open the interactive visualisation