text: C ++ program for space optimized Dynamic Programming Solution of Binomial Coefficient
code: #include <bits/stdc++.h> NEW_LINE using namespace std ; int binomialCoeff ( int n , int k ) { int C [ k + 1 ] ; memset ( C , 0 , sizeof ( C ) ) ;