Design a TreeSet in Java
Filed under MakeMyTrip
The question
Design and implement a TreeSet data structure in Java, moving from a basic BST to an optimized self-balancing tree like AVL.
No write-up yet. Related questions below have one.
Related MakeMyTrip questions
Collected from public candidate posts and coding forums. Updated Nov 2026.