Skip to content

Commit d18233d

Browse files
authored
Update best-team-with-no-conflicts.cpp
1 parent a43b4a2 commit d18233d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

C++/best-team-with-no-conflicts.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Time: O(nlogn)
1+
// Time: O(nloga)
22
// Space: O(n)
33

44
// optimized from Solution3
@@ -100,7 +100,7 @@ class Solution {
100100
};
101101
};
102102

103-
// Time: O(nlogn)
103+
// Time: O(nlogs)
104104
// Space: O(n)
105105
// optimized from Solution4
106106
class Solution2 {
@@ -201,7 +201,7 @@ class Solution2 {
201201
};
202202
};
203203

204-
// Time: O(n^2)
204+
// Time: O(n * a)
205205
// Space: O(n)
206206
// optimized from Solution5
207207
class Solution3 {
@@ -230,7 +230,7 @@ class Solution3 {
230230
}
231231
};
232232

233-
// Time: O(n^2)
233+
// Time: O(n * s)
234234
// Space: O(n)
235235
// optimized from Solution6
236236
class Solution4 {

0 commit comments

Comments
 (0)