Algoworks interview question

polymorphism