Skip to content

Commit 1822813

Browse files
authored
Update count-sorted-vowel-strings.py
1 parent ddc3a02 commit 1822813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/count-sorted-vowel-strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def nCr(n, r): # Time: O(n), Space: O(1)
1616
c //= k
1717
return c
1818

19-
return nCr(n+4, 4) # H(5, n) = nCr(n+5-1, n) = nCr(n+4, 4)
19+
return nCr(n+4, 4) # H(5, n) = C(n+5-1, n) = C(n+4, 4)

0 commit comments

Comments
 (0)