Samyak Software Interview Question

Reverse string without using another variable