Really Simple c++ solution


#1

vector Solution::getRow(int A) {

vector <int> ans;
int i = A + 1, c = 1;
for(int j=1; j<=i; j++)
{
    ans.push_back(c);
    c = c*(i - j)/j;
}
return ans;

}


#2

Awesome Bro!!! Easiest a human can think of:ok_hand::+1: