class Solution {
public:
vector[HTML_REMOVED] getRow(int n) {
vector[HTML_REMOVED]> f(2, vector[HTML_REMOVED](n + 1));
for(int i = 0; i <= n; i){
f[i % 2][0] = f[i & 1][i] = 1;
for(int j = 1; j < i; j) f[i & 1][j] = f[i - 1 & 1][j - 1] + f[i - 1 & 1][j];
}
return f[n & 1];
}
};