AVL interview question

OOPs concepts Singleton Design Pattern