KLA Interview Question

Virtual function , COM, smart ptr , puzzles , problems and which DS fits best