Bug Report for https://neetcode.io/problems/python-sorted-set-basics
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
The SortedSet lesson incorrectly states that lookup is O(log n). In sortedcontainers.SortedSet, membership checks use an underlying Python set, so x in sorted_set is O(1) average.
Bug Report for https://neetcode.io/problems/python-sorted-set-basics
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
The SortedSet lesson incorrectly states that lookup is O(log n). In sortedcontainers.SortedSet, membership checks use an underlying Python set, so x in sorted_set is O(1) average.