IGATE interview question

Not faced any difficulties...