Hello, algorithms!

Welcome to GitHub's largest open-source algorithm library

Top algorithms

Binary Search

Quick Sort

+11

Bogo Sort

What is an algorithm?

An algorithm is a set of rules that takes in one or more inputs, then performs inner calculations and data manipulations and returns an output or a set of outputs. In short, algorithms make life easy. From complex data manipulations and hashes, to simple arithmetic, algorithms follow a set of steps to produce a useful result. One example of an algorithm would be a simple function that takes two input values, adds them together and returns their sum.

About Us

We are a group of programmers helping each other to build new things, whether it be writing complex encryption programs, or simple ciphers. Our goal is to work together to document and model beautiful, helpful and interesting algorithms using code. We are an open-source community - anyone can contribute. We check each other's work, communicate and collaborate to solve problems. We strive to be welcoming, respectful, yet make sure that our code follows the latest programming guidelines.

Featured algorithms

Caesar Cipher

Bellman Ford

Programming Languages

We support many programming languages. Each language has its own GitHub repository where all the code for the algorithms is stored. Here is a list of the current programming languages:

Contribute

We encourage you to contribute to these repositories. If you have an algorithm that you want to add, a change you want to make or a bug you want to fix, please do so. But before you do, make sure you have read the contributing guidelines found in CONTRIBUTING.md in the repository. Make sure that you are respectful, helpful and using the latest version of the language. After reading the contribution guidelines, please fork the repository, work on your changes and then submit them as a pull request.