IDFC FIRST Bank Interview Question

reversing a string in python and employee, manager self join SQL question