Skip to content

Commit 4796fbc

Browse files
authored
Update insert-delete-getrandom-o1.py
1 parent 9622609 commit 4796fbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/insert-delete-getrandom-o1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Time: O(1)
2-
# Space: O(1)
2+
# Space: O(n)
33

44
# Design a data structure that supports all following operations in O(1) time.
55
#

0 commit comments

Comments
 (0)