Clever Devices Interview Question

write recursive function to reverse string