DhanushNehru / calculator

An online calculator
https://calculator-dhanushnehru.netlify.app/
MIT License
24 stars 75 forks source link

Optimize nCr calculation using DP #133

Closed siddxharth1 closed 1 month ago

siddxharth1 commented 1 month ago

The current implementation of calculating combinations nCr using factorials is inefficient for large values of n and r. Factorial calculations for large numbers issues Uncaught RangeError: Maximum call stack size exceeded I would like to resolve this issue.

BYT-Bender commented 1 month ago

Can you assigned me this issue.

siddxharth1 commented 1 month ago

@BYT-Bender i am working on it !