Clean example implementations of data structures and algorithms written in different languages.
- Search
- Sort
- Math
- russian peasant
- towers of hanoi
- armstrong number
- euclid's gcd
- prime seive
- strong number
- factorial
- fibonacci sequence
- sum of digits
- fast exponentiation
- add binary numbers
- interval bisection
- lucas series
- numerical integration
- pernicious number
- catalan number
- moments
- primality check
- euler's totient
- gauss legendre
- gram schmidt process
- binomial coefficient
- perfect number
- basic
- average stream numbers
- babylonian method
- arithmetic on very large numbers
- automorphic numbers
- josepheus_problem
- fast pow
- Cryptography
- Geometry
- Greedy
- Graphs
- String search
- Cluster analysis
- Dynamic Programming
- Data structures
- Backtracking
- Synchronization
-
Contributions are always welcome. Language doesn't matter. Just make sure you're implementing an algorithm.
-
PRs are welcome. To begin developing, follow the structure:
algorithm_name/language-name/file_name.extension e.g buble_sort/python/buble_sort.py
-
If there is an implementation of the same algorithm in your language, add your username in front of the file name.
-
Please include a description for the algorithm that you are implementing. It doesn't matter if it's copied from somewhere as long as it helps people that are learning new algorithm.
-
Graphical examples would be very helpful too.
-
Don't forget to include tests.
-
Don't remove previous implementations of algorithms. Just add a new file with your own implementation.
Curated list of resources dealing with algorithms.
- Books
- Sites
- Online classes (Free)
- Coding Practice Sites