Sollicitatievraag bij MiQ

Reverse a string using recursion

Antwoord op sollicitatievraag

Anoniem

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