|
| 1 | +# Algos |
| 2 | + |
| 3 | +Community (college) maintained list of Algorithms and Data Structures implementations. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## Implemented Algorithms |
| 8 | + |
| 9 | + |
| 10 | +| Algorithm | C | CPP | Java | Python | Golang | JavaScript | C# | |
| 11 | +|:--------------|:----------------:|:----------------:|:----------------:|:-----------------:|:-----------------:|:-----------------:| :-----------------:| |
| 12 | +| [Bin Sort](http://www.cdn.geeksforgeeks.org/bucket-sort-2/)| | | | | | | | |
| 13 | +| [Binary Search](https://en.wikipedia.org/wiki/Binary_search_algorithm) | | | | | | | | |
| 14 | +| [Breadth First Search](https://en.wikipedia.org/wiki/Breadth-first_search) | | | | | | | | |
| 15 | +| [Breadth First Traversal](https://www.cs.bu.edu/teaching/c/tree/breadth-first/) | | | || | | | |
| 16 | +| [Coin Change Problem](http://www.algorithmist.com/index.php/Coin_Change) | | | | | | | | |
| 17 | +| [Counting Sort](http://www.geeksforgeeks.org/counting-sort/)| | | | | | | | |
| 18 | +| [Depth First Traversal](http://www.geeksforgeeks.org/depth-first-traversal-for-a-graph/) | | | | | | | | |
| 19 | +| [Dijkstra Algorithm](https://en.wikipedia.org/wiki/Dijkstra's_algorithm) | | | | | | | | |
| 20 | +| [Euclidean GCD](https://en.wikipedia.org/wiki/Euclidean_algorithm) | | | | | | | | |
| 21 | +| [Exponentiation by Squaring](https://en.wikipedia.org/wiki/Exponentiation_by_squaring) | | | | | | | | |
| 22 | +| [Heap Sort](https://en.wikipedia.org/wiki/Heapsort) | | | | | | | | |
| 23 | +| [Insertion Sort](https://en.wikipedia.org/wiki/Insertion_sort) | | | | | | | | |
| 24 | +| [k-NN](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm) | | | | | | | | |
| 25 | +| [Largest Sum Contiguous Subarray](http://www.geeksforgeeks.org/largest-sum-contiguous-subarray/) | | | | | | | | |
| 26 | +| [Linear Regression](https://en.wikipedia.org/wiki/Linear_regression) | | | | | | | | |
| 27 | +| [Linear Search](https://en.wikipedia.org/wiki/Linear_search) | | | || | | | |
| 28 | +| [Longest Common Subsequence](http://www.geeksforgeeks.org/dynamic-programming-set-4-longest-common-subsequence) | | | | | | | | |
| 29 | +| [Longest Palindromic Substring](http://www.geeksforgeeks.org/longest-palindrome-substring-set-1/) | | | | | | | | |
| 30 | +| [Merge Sort](https://www.khanacademy.org/computing/computer-science/algorithms/merge-sort/a/overview-of-merge-sort) | | | | | | | | |
| 31 | +| [Modular Exponential](http://www.geeksforgeeks.org/modular-exponentiation-power-in-modular-arithmetic/) | | | | || | | |
| 32 | +| | | | | | | | | |
| 33 | +| [Prime Factor](https://en.wikipedia.org/wiki/Prime_factor) | | | | | | | | |
| 34 | +| [Prims](https://en.wikipedia.org/wiki/Prim%27s_algorithm) | | | | | | | | |
| 35 | +| [Quick Select](https://en.wikipedia.org/wiki/Quickselect) | | | | | | | | |
| 36 | +| [Quicksort](https://en.wikipedia.org/wiki/Quicksort) | | | | | | | | |
| 37 | +| [Radix Sort](http://www.geeksforgeeks.org/radix-sort/) | | | | | | | | |
| 38 | +| [Rod Cutting Problem](http://www.geeksforgeeks.org/dynamic-programming-set-13-cutting-a-rod/) | | | | | | | | |
| 39 | +| [Shell Sort](https://en.wikipedia.org/wiki/Shellsort) | | | | | | | | |
| 40 | +| [Sieve of Eratosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) | | | | | | | | |
| 41 | +| [Sleep Sort](http://www.geeksforgeeks.org/sleep-sort-king-laziness-sorting-sleeping/) | | | | | | | | | |
| 42 | + |
| 43 | + |
| 44 | +## Implemented Data Structures |
| 45 | + |
| 46 | +| Data Structure | C | CPP | Java | Python | Golang | JavaScript | C# | |
| 47 | +|:--------------|:----------------:|:----------------:|:----------------:|:-----------------:|:-----------------:|:-----------------:|:-----------------:| |
| 48 | +| [AVL Tree](http://www.geeksforgeeks.org/avl-tree-set-1-insertion)|| | | | | | | |
| 49 | +| | | | | | | | | |
| 50 | +| [Linked List](https://en.wikipedia.org/wiki/Linked_list) | | | | | | | | |
| 51 | +| [Queue](https://en.wikipedia.org/wiki/Queue_(abstract_data_type)) | | | | | | | | |
| 52 | +| [Stack](https://en.wikipedia.org/wiki/Stack_(abstract_data_type)) | | | | | | | | |
| 53 | +| [Trie](https://en.wikipedia.org/wiki/Trie) | | | | | | | | | |
| 54 | +| [Queue](https://en.wikipedia.org/wiki/Queue_(abstract_data_type)) | | | | | | | | | |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | +## How to run them |
| 59 | + |
| 60 | +| Language | Steps | |
| 61 | +|:--------------|:----------------| |
| 62 | +| C |<pre>gcc [filename.c]<br>./a.out # unix<br>a.exe # windows</pre>| |
| 63 | +| CPP |<pre>g++ [filename.cpp]<br>./a.out # unix<br>a.exe # windows</pre>| |
| 64 | +| Java |<pre>javac [filename.java]<br>java [filename]</pre>| |
| 65 | +| Python |<pre>python [filename.py]</pre>| |
| 66 | +| Golang |<pre>go run [filename.go]</pre>| |
| 67 | +| JavaScript |<pre>node [filename.js]</pre>| |
| 68 | +| C# |<pre>mcs [filename.cs]<br/>mono [filename.exe]</pre>| |
| 69 | + |
| 70 | + |
| 71 | +## Resources |
| 72 | + |
| 73 | +* [Algorithms - Learneroo](https://www.learneroo.com/subjects/8) |
| 74 | +* [Awesome-Algorithms](https://github.com/tayllan/awesome-algorithms) |
| 75 | +* [Algorithms List - GeeksforGeeks](http://www.geeksforgeeks.org/fundamentals-of-algorithms/) |
| 76 | +* [Intro to Algorithms - Khan Academy](https://www.khanacademy.org/computing/computer-science/algorithms) |
| 77 | +* [Popular Data Structures and Algorithms - Codechef](https://discuss.codechef.com/questions/48877/data-structures-and-algorithms) |
| 78 | +* [Stanford-ACM-Codes](https://github.com/jaehyunp/stanfordacm) - A list of codes written by previous Stanford ACM team members and coaches. |
| 79 | +* [Data Structures and Algorithms](https://hackr.io/tutorials/learn-data-structures-algorithms) - A user ranked list of online tutorials to learn Data Structures and Algorithms online. |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | +## Contributing |
| 84 | + |
| 85 | +See [CONTRIBUTING.md](CONTRIBUTING.md). |
| 86 | + |
| 87 | +If you plan to suggest a new algorithm or DS, please make sure to read [the guidelines](CONTRIBUTING.md#sa). |
| 88 | + |
| 89 | + |
| 90 | +## Credits |
| 91 | + |
| 92 | +Idea by [@RavinduSachintha](https://github.com/RavinduSachintha) |
| 93 | + |
| 94 | + |
| 95 | +## Project Maintainers |
| 96 | + |
| 97 | +* [RavinduSachintha](https://github.com/RavinduSachintha) |
| 98 | +* [Danushka Herath](https://github.com/danushka96) |
| 99 | +* [Asitha Indrajith](https://github.com/AsithaIndrajith) |
| 100 | +* [Sachintha Rathnayake](https://github.com/Sacheerc) |
| 101 | + |
| 102 | +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. |
0 commit comments