UKG interview question

OA: reverse a string recursively