fave77 / Mathball

A JavaScript library for Competitive Programming
https://fave77.github.io/Mathball-Docs/
MIT License
99 stars 49 forks source link

Bell Number #35

Closed fave77 closed 5 years ago

fave77 commented 5 years ago

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.

[Function: M.bell()] needs to be added! For more info:

https://www.geeksforgeeks.org/bell-numbers-number-of-ways-to-partition-a-set/

M.bell() needs to accept a non-negative integer and all other arguments passed should throw a type error which needs to be handled gracefully! For error handling, you should refer to how M.factorial() is implemented.

Category: Find nth Number

Indrajit1997 commented 5 years ago

I want to work on this @pbiswas101

fave77 commented 5 years ago

@Indrajit1997 you're assigned!