Bug Report for https://neetcode.io/problems/python-sorted-dict-basics
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
The SortedDict lesson incorrectly states that key access and lookup are O(log n). In sortedcontainers.SortedDict, these operations use an underlying Python dict, so sorted_dict[key] and key in sorted_dict are O(1) average.
Bug Report for https://neetcode.io/problems/python-sorted-dict-basics
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
The SortedDict lesson incorrectly states that key access and lookup are O(log n). In sortedcontainers.SortedDict, these operations use an underlying Python dict, so sorted_dict[key] and key in sorted_dict are O(1) average.