NTT DATA interview question

Tough question was during interview