Pergunta de entrevista da empresa Magnaquest

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

Resposta da entrevista

Sigiloso

21 de ago. de 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)