Tech Mahindra Interview Question

DSA questions , OOP conecept