Skip to content

Commit 047a593

Browse files
authored
Update next-greater-numerically-balanced-number.cpp
1 parent 2447fa0 commit 047a593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/next-greater-numerically-balanced-number.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Solution {
2222
}
2323
};
2424

25-
// Time: O(l * c) = O(1), c is the count of all candidates' permutations, l is the max length of permutations
25+
// Time: O(l * c) = O(1), c is the count of all balanced's permutations, l is the max length of permutations
2626
// Space: O(l * b) = O(1), b is the count of balanced
2727
class Solution2 {
2828
public:

0 commit comments

Comments
 (0)