Frage im Vorstellungsgespräch bei Magnaquest

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

Antwort im Vorstellungsgespräch

Anonym

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)