I am not able to identify where I am making a mistake⦠How can I prevent the overflow issue
Error in code...Overflow Issue
Do you have a C++ code for this?
Here is your corrected code https://ide.codingblocks.com/s/184969, you donāt need to handle overflow issue in python, instead you had to print
C(n-1,n-k)
but in the video it was said that the answer is C(n-1,k-1)