Leetcode Same Code Different Runtime Polymorphism W3schools