Which interface does `TreeSet` implement in Java?
`TreeSet` implements the `SortedSet` interface, which provides methods for range view of the set.
You're partially correct. `TreeSet` does implement `SortedSet`, but it also implements `NavigableSet` for more advanced navigation.
Can you explain how `SortedSet` differs from `NavigableSet`?