WNS interview question

detailed technical question and case study