Closed nilshah98 closed 5 years ago
I am interested to work on this issue @nilshah98 , but before assigning can you please explain what I need to resolve for solving this issue ,thanks.
Check the code for Catalan Number, it uses nCr, but it is actually written as a whole. The task here is to reduce the redundancy and use the nCr function, instead of actually writing the whole function.
@pydevsg will you be working on this?
Yes, I would like to grab this issue @pbiswas101.
@pydevsg you're assigned!
You need to make changes to the existing catalan number file, and not make a new one.
src\catalan\index.js
make changes to this.
Oh, sorry I took it in a different way , I will come up with a new PR .
Cools!
@pydevsg your time's up!
I would like to claim this issue.
@sateslayer you're assigned
Do the checklist before filing the issue:
NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.
Nth Catalan number has already been implemented here - #6 Check the corresponding PR, they've actually coded the binomialCoefficient part for calculating Catalan Number. Binomial Coefficient has been implemented here - #66
Aim here is to clean up the Catalan Number code, by using the nCr function already deployed.
Links-
6
66
Catalan GFG