srbcheema1 / Algo_Ds

Repository for cool algorithms and Datastructures
181 stars 305 forks source link

Binomial_Coefficient.cpp #332

Open BhaskarJoshi-01 opened 3 years ago

BhaskarJoshi-01 commented 3 years ago

Above is a space optimized version of the above code. The following code only uses O(k)