NTT DATA interview question

Algorithms and few more things