Question d’entretien chez Capgemini Engineering

Write a program to reverse a string without using in build methods.