Leetcode Same Code Different Runtime Polymorphism And Compile