Tech Mahindra interview question

Swift basics, OOP concepts, problem solving