Deskera interview question

Program to reverse string