Tech Mahindra Interview Question

Don't had any difficult question.