So TreeSet uses TreeMap as backing data structures (with dummy vaues corresponding to keys) & TreeMap in turn uses Red-Black tree which is a self balancing BST.
Now what does this Red-Black tree use as a backing data structure? Is it an array or linkedlist?
My understanding is that it's a linkedlist because in TreeSet, operations like .first() return the smallest value & not the root & it has O(1) time complexity.
So basically it's a linkedlist alongwith bunch of pointers for least, greatest, root of linkedlist etc. Is my understanding correct?