Cognizant interview question

Program to reverse the string Window handles Data driven