Skip to content

Commit e00e13a

Browse files
authored
Update count-sorted-vowel-strings.cpp
1 parent 1822813 commit e00e13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-sorted-vowel-strings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Solution {
55
public:
66
int countVowelStrings(int n) {
7-
return nCr(n + 4, 4); // H(5, n) = nCr(n+5-1, n) = nCr(n+4, 4)
7+
return nCr(n + 4, 4); // H(5, n) = C(n+5-1, n) = C(n+4, 4)
88
}
99

1010
private:

0 commit comments

Comments
 (0)