Tech Mahindra Interview Question

Coding , aptitude , reasoning