jinnatul's blog

By jinnatul, history, 5 weeks ago, In English,

how to the way we can solve ( nCr ) this problem using DP. anyone help me, please. array size is so large ( less than 2^31 ).

Sample input: n = 4, r = 2 output: 6. n = 10, r = 5, output: 252. n = 49, r = 6 output: 13983816.

 
 
 
 
  • Vote: I like it  
  • -22
  • Vote: I do not like it