why is a tree set sorted

Solutions on MaxInterview for why is a tree set sorted by the best coders in the world

showing results for - "why is a tree set sorted"
Chahinez
04 Oct 2019
1TreeSets, are datastructures that require unique elements and are sorted. This is because treeset is a mix of binary tree(sorted) and a set which cannot contain unique elements.
similar questions
queries leading to this page
why is a tree set sorted