Skip to content

Commit c5b67de

Browse files
CaedenPHsedatguzelsemme
authored andcommitted
Small docstring time complexity fix in number_container _system (TheAlgorithms#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 5d0592d commit c5b67de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)