Tech Mahindra Interview Question

some technical questions