Tech Mahindra Interview Question

I Attempted aptitude and technical round,which is litle bit moderate.