Netaş interview question

Polymorphism definition explanation and solving a simple algorithm questions via coding.