Amdocs interview question

reverse a string and some dsa qs