This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Understand how TreeSet uses compareTo return values to maintain sorted order and detect duplicates.
You've completed the free preview. Subscribe to unlock every lesson in every course.