Skip to content

Commit 95d22a4

Browse files
authored
Update meeting-rooms-iii.cpp
1 parent 6a1cdfa commit 95d22a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/meeting-rooms-iii.cpp

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
// one heap solution
@@ -27,7 +27,7 @@ class Solution {
2727
}
2828
};
2929

30-
// Time: O(n + mlogn)
30+
// Time: O(mlogm + n + mlogn)
3131
// Space: O(n)
3232
// two heaps solution
3333
class Solution2 {

0 commit comments

Comments
 (0)