code: https://ide.codingblocks.com/s/52446
not getting any output, can anyone tell me what I am doing wrong
Factorial of big no
Hi,
you are simply keep on pushing the elements so the size is continuously increasing, so inner loop is going INFINITE, you dont have to keep pushing you have to overwrite in the solution vector.
Think better, try to run the inner loop finitely.
Hit like if you get it!
Cheer 