Sollicitatievraag bij Magnaquest

Write a program in Java to reverse a string without any built-in functions

Antwoord op sollicitatievraag

Anoniem

21 aug 2025

you can use StringBuilder and recursion to make the new string or using two pointers to change the positions of the char array and then converting back into string using new String(char_array)