Catalan formula and nCr

This commit is contained in:
2024-04-20 17:54:45 +05:30
parent 3f2e435cf0
commit 8fcec286d5
4 changed files with 126 additions and 1 deletions

View File

@@ -27,6 +27,6 @@ int catalanNumber( int n ){
int main(int argc, char* argv[] ){
cout << catalanNumber(3) << '\n';
cout << catalanNumber(2) << '\n';
return 0;
}