Skip to content

Commit f25a148

Browse files
authored
Update random-point-in-non-overlapping-rectangles.py
1 parent 29a1d20 commit f25a148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/random-point-in-non-overlapping-rectangles.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Time: O(logn)
1+
# Time: ctor: O(n)
2+
# pick: O(logn)
23
# Space: O(n)
34

45
# Given a list of non-overlapping axis-aligned rectangles rects,

0 commit comments

Comments
 (0)