Skip to content

Commit c32ecbb

Browse files
authored
Update falling-squares.py
1 parent b5456ce commit c32ecbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/falling-squares.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(nlogn)
1+
# Time: O(n^2), could be improved to O(nlogn) in cpp by ordered map (bst)
22
# Space: O(n)
33

44
import bisect

0 commit comments

Comments
 (0)