Aloha Technology Interview Question

Reverse a string from input and output it

Interview Answer

Anonymous

Jun 27, 2023

Using the two pointer method, A pointer incrementing from the start to the middle And another decrementing from the end to the middle Swapping values at each step.

3