MiQ interview question

Reverse a string using recursion

Interview Answer

Anonymous

5 Apr 2019

Swap first and last characters and call the function recursively for the string excepting first and last characters till length reaches 0 or 1.

3