codeIIEST / Algorithms

A Repository to store implementation of some of the famous Data Structures and Algorithms (mainly in C/C++/Java/Python) for everyone to learn and contribute.
http://codeiiest.github.io/Algorithms/
MIT License
203 stars 163 forks source link

Added 2 different implementations for Catalan Numbers #255

Closed rahulkumaran closed 6 years ago

rahulkumaran commented 6 years ago

Thank you for your contribution. Please provide the details requested below.

SHORT DESCRIPTION

Added 2 different implementations of catalan numbers which vary in time complexity only!

TESTING

Just run the program and you'll get the outcome! The results of both the programs will be the same! They're just different methods to find catalan numbers

rahulkumaran commented 6 years ago

@prateekiiest sorry closed the previous PR! Had some implementation faults in that! So just rectified my code and made the necessary changes! :) Please have a look at it :)

rahulkumaran commented 6 years ago

@prateekiiest made the changes you requested :)