pascal
Compute the nth row of the pascal triangle
vector<int>pascal(n);vector<int> test = pascal(3);
for(auto i : test){
cout << i;
}
//Code above returns: 121
Last updated
vector<int>pascal(n);vector<int> test = pascal(3);
for(auto i : test){
cout << i;
}
//Code above returns: 121
Last updated