In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.
Welcome to the NITSkmOS/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: | | Merge Sort | :octocat: | :octocat: | :octocat: | :octocat: | | QuickSort | :octocat: | | :octocat: | :octocat: | | Insertion Sort | :octocat: | :octocat: | | :octocat: | | Counting Sort | :octocat: | :octocat: | | :octocat: | | Radix Sort | | :octocat: | | :octocat: | | Binary Search | | :octocat: | | :octocat: | | Bubble Sort | :octocat: | :octocat: | :octocat: | :octocat: | | Shell Sort | :octocat: | | | :octocat: | | Heap Sort | | | | :octocat: | | Maximum Subarray Problem | | | | :octocat: | | Knapsack Problem | | | | :octocat: | | Selecton Sort | :octocat: | :octocat: | | |
Implemented Data Structures
| Data Structure | C | CPP | Java | Python | |:----------------------------------------------------------------------------------------------- |:-------------------------------------:|:-------------------------------------:|:-------------------------------------:|:-------------------------------------:| | Queue) | | :octocat: | | | | Stack) | :octocat: | | :octocat: | :octocat: | | Linear Linked List | :octocat: | :octocat: | :octocat: | :octocat: | | AVL Tree | :octocat: | :octocat: | :octocat: | :octocat: | | Binary Search Tree | | :octocat: | | | | Fenwick Tree | | :octocat: | :octocat: | :octocat: | | Doubly Linked List | :octocat: | | | |
Sample Run
| Language | Steps | | --------------- | ---------------------------------------------------------------------- | | JavaScript |
node [filename.js]| | Python |
python [filename.py]| | C |
gcc [filename.c]| | CPP |
./a.out # unix
a.exe # windows
g++ [filename.cpp]| | Java |
./a.out # unix
a.exe # windows
javac [filename.java]|
java [filename]
Contributing
- Fork it!
- Clone the forked repository to local system.
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature'.
- Push to the branch:
git push origin my-new-feature - Submit a pull request :smile:
Support
Feel free to contact us at our Gitter channel, we'd be happy to help!
Notes
Only project maintainers should merge a PR. Other members can add their reviews to a PR but the merging should be done by only a project maintainer.