Tech Mahindra Interview Question

about my mini project