Cognizant interview question

My B.Tech final year project