Skip to content

Commit 9e08c77

Browse files
authored
Small docstring time complexity fix in number_container _system (#8875)
* fix: Write time is O(log n) not O(n log n) * chore: Update pre-commit ruff version * revert: Undo previous commit
1 parent f7531d9 commit 9e08c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

other/number_container_system.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
A number container system that uses binary search to delete and insert values into
3-
arrays with O(n logn) write times and O(1) read times.
3+
arrays with O(log n) write times and O(1) read times.
44
55
This container system holds integers at indexes.
66

0 commit comments

Comments
 (0)