/All-Algorithms

Primary LanguageC++MIT LicenseMIT

All-Algorithms

This repository contains examples of various algorithms written on different programming languages...

Implemented Algorithms

Algorithm C CPP Java Python
Euclidean GCD :octocat: :octocat: :octocat:
QuickSort :octocat: :octocat: :octocat:
Merge Sort :octocat: :octocat: :octocat: :octocat:
Insertion Sort :octocat: :octocat: :octocat:
Counting Sort :octocat: :octocat:
Radix Sort :octocat:
Binary Search :octocat: :octocat: :octocat: :octocat:
Bubble Sort :octocat: :octocat:
Shell Sort :octocat: :octocat:
Heap Sort :octocat: :octocat: :octocat:
Maximum Subarray Problem :octocat:

Implemented Data Structures

Data Structure C CPP Java Python
Queue :octocat: :octocat: :octocat: :octocat:
Stack :octocat: :octocat:
Linear Linked List :octocat: :octocat:
AVL Tree :octocat: :octocat: :octocat: :octocat:

Sample Run

Language Steps
JavaScript
node [filename.js]
Python
python [filename.py]
C
gcc [filename.c]
./a.out # unix
a.exe # windows
CPP
g++ [filename.cpp]
./a.out # unix
a.exe # windows
Java
javac [filename.java]
java [filename]

Contributing

  1. Fork it!
  2. Clone the forked repository to local system.
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'.
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request 😄