Skip to content

Commit 77d684a

Browse files
authored
Update meeting-rooms-iii.py
1 parent 95d22a4 commit 77d684a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/meeting-rooms-iii.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(n + mlogn)
1+
# Time: O(mlogm + n + mlogn)
22
# Space: O(n)
33

44
import heapq
@@ -25,7 +25,7 @@ def mostBooked(self, n, meetings):
2525
return max(xrange(n), key=lambda x:result[x])
2626

2727

28-
# Time: O(n + mlogn)
28+
# Time: O(mlogm + n + mlogn)
2929
# Space: O(n)
3030
import heapq
3131

0 commit comments

Comments
 (0)