Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a4a7dd2

Browse files
authoredApr 6, 2021
Update count-nice-pairs-in-an-array.cpp
1 parent 84de913 commit a4a7dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎C++/count-nice-pairs-in-an-array.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Time: O(n)
2-
// Space: O(1)
1+
// Time: O(nlogm), m is max of nums
2+
// Space: O(n)
33

44
class Solution {
55
public:

0 commit comments

Comments
 (0)