Skip to content

Commit 809acf4

Browse files
authored
Update count-almost-equal-pairs-ii.cpp
1 parent 42e670e commit 809acf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-almost-equal-pairs-ii.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Solution {
5757

5858
// Time: O(n * l^(2 * k)) = O(n * l^4)
5959
// Space: O(n + l^(2 * k)) = O(n + l^4) = O(n)
60-
// freq table, combinatorics
60+
// freq table, combinatorics, bfs
6161
class Solution2 {
6262
public:
6363
int countPairs(vector<int>& nums) {

0 commit comments

Comments
 (0)