Skip to content

Commit 42e670e

Browse files
authored
Update count-almost-equal-pairs-i.cpp
1 parent b3485ba commit 42e670e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Solution {
4242

4343
// Time: O(n * l^(2 * k)) = O(n * l^2)
4444
// Space: O(n + l^(2 * k)) = O(n + l^2) = O(n)
45-
// freq table, combinatorics
45+
// freq table, combinatorics, bfs
4646
class Solution2 {
4747
public:
4848
int countPairs(vector<int>& nums) {

0 commit comments

Comments
 (0)