DigiValet Interview Question

Reverse a string without using any in-built function.