BNP Paribas interview question

Memory allocations, smart pointers, live coding exercise where i had to explain polymorphism and inheritance