NTT DATA interview question

improvement areas..??