|
1 |
| -# algorithms-js [](https://travis-ci.org/ManrajGrover/algorithms-js) [](https://ci.appveyor.com/project/ManrajGrover/algorithms-js) [](https://www.npmjs.com/package/algorithms-js) [](https://www.npmjs.com/package/algorithms-js)  |
| 1 | +# algorithms-js [](https://travis-ci.org/manrajgrover/algorithms-js) [](https://ci.appveyor.com/project/manrajgrover/algorithms-js) [](https://www.npmjs.com/package/algorithms-js) [](https://www.npmjs.com/package/algorithms-js)  |
2 | 2 | > Consumable Data Structures and Algorithms library in JavaScript
|
3 | 3 |
|
4 | 4 | ## Installation
|
@@ -27,65 +27,65 @@ Library contains both algorithms as well as data structures:
|
27 | 27 | ### Data Structures
|
28 | 28 | Currently, library supports following data structures:
|
29 | 29 |
|
30 |
| -- [Doubly Linked List](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/doubly_linked_list.js) |
31 |
| -- [Fenwick Tree](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/fenwick_tree.js) |
32 |
| -- [Graph](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/graph.js) |
33 |
| -- [Heap](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/heap.js) |
34 |
| -- [Linked List](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/linked_list.js) |
35 |
| -- [Queue](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/queue.js) |
36 |
| -- [Stack](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/stack.js) |
37 |
| -- [Trie](https://github.com/ManrajGrover/algorithms-js/blob/master/src/data-structures/trie.js) |
| 30 | +- [Doubly Linked List](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/doubly_linked_list.js) |
| 31 | +- [Fenwick Tree](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/fenwick_tree.js) |
| 32 | +- [Graph](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/graph.js) |
| 33 | +- [Heap](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/heap.js) |
| 34 | +- [Linked List](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/linked_list.js) |
| 35 | +- [Queue](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/queue.js) |
| 36 | +- [Stack](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/stack.js) |
| 37 | +- [Trie](https://github.com/manrajgrover/algorithms-js/blob/master/src/data-structures/trie.js) |
38 | 38 |
|
39 | 39 | ### Algorithms
|
40 | 40 | Currently library supports following algorithms:
|
41 | 41 |
|
42 | 42 | #### Search
|
43 | 43 | Various Searching algorithms:
|
44 | 44 |
|
45 |
| -- [Binary Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/binary_search.js) |
46 |
| -- [Breadth First Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/breadth_first_search.js) |
47 |
| -- [Depth First Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/depth_first_search.js) |
48 |
| -- [Exponential Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/exponential_search.js) |
49 |
| -- [Interpolation Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/interpolation_search.js) |
50 |
| -- [Jump Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/jump_search.js) |
51 |
| -- [Linear Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/linear_search.js) |
52 |
| -- [Ternary Search](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/search/ternary_search.js) |
| 45 | +- [Binary Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/binary_search.js) |
| 46 | +- [Breadth First Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/breadth_first_search.js) |
| 47 | +- [Depth First Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/depth_first_search.js) |
| 48 | +- [Exponential Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/exponential_search.js) |
| 49 | +- [Interpolation Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/interpolation_search.js) |
| 50 | +- [Jump Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/jump_search.js) |
| 51 | +- [Linear Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/linear_search.js) |
| 52 | +- [Ternary Search](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/search/ternary_search.js) |
53 | 53 |
|
54 | 54 | #### Sort
|
55 | 55 | Various Sorting algorithms:
|
56 | 56 |
|
57 |
| -- [Bubble Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/bubble_sort.js) |
58 |
| -- [Count Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/count_sort.js) |
59 |
| -- [Heap Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/heap_sort.js) |
60 |
| -- [Insertion Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/insertion_sort.js) |
61 |
| -- [Merge Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/merge_sort.js) |
62 |
| -- [Quick Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/quick_sort.js) |
63 |
| -- [Selection Sort](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/sort/selection_sort.js) |
| 57 | +- [Bubble Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/bubble_sort.js) |
| 58 | +- [Count Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/count_sort.js) |
| 59 | +- [Heap Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/heap_sort.js) |
| 60 | +- [Insertion Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/insertion_sort.js) |
| 61 | +- [Merge Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/merge_sort.js) |
| 62 | +- [Quick Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/quick_sort.js) |
| 63 | +- [Selection Sort](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/sort/selection_sort.js) |
64 | 64 |
|
65 | 65 | #### Math
|
66 | 66 | Various Math algorithms:
|
67 | 67 |
|
68 |
| -- [Extended Euclidean](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/math/extended_euclidean.js) |
69 |
| -- [Fast Exponentiation](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/math/fast_exp.js) |
70 |
| -- [GCD](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/math/gcd.js) |
71 |
| -- [LCM](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/math/lcm.js) |
| 68 | +- [Extended Euclidean](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/math/extended_euclidean.js) |
| 69 | +- [Fast Exponentiation](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/math/fast_exp.js) |
| 70 | +- [GCD](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/math/gcd.js) |
| 71 | +- [LCM](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/math/lcm.js) |
72 | 72 |
|
73 | 73 | #### String
|
74 | 74 | Various String algorithms:
|
75 | 75 |
|
76 |
| -- [Levenshtein Distance](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/string/levenshtein_distance.js) |
| 76 | +- [Levenshtein Distance](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/string/levenshtein_distance.js) |
77 | 77 |
|
78 | 78 | #### Geometry
|
79 | 79 | Various Geometry algorithms:
|
80 | 80 |
|
81 |
| -- [Tangent between circles](https://github.com/ManrajGrover/algorithms-js/blob/master/src/algorithms/geometry/tangent_between_circles.js) |
| 81 | +- [Tangent between circles](https://github.com/manrajgrover/algorithms-js/blob/master/src/algorithms/geometry/tangent_between_circles.js) |
82 | 82 |
|
83 | 83 | ## Development
|
84 | 84 |
|
85 | 85 | Run:
|
86 | 86 |
|
87 | 87 | ```sh
|
88 |
| -$ git clone https://github.com/ManrajGrover/algorithms-js.git |
| 88 | +$ git clone https://github.com/manrajgrover/algorithms-js.git |
89 | 89 | $ cd algorithms-js
|
90 | 90 | $ npm install
|
91 | 91 | ```
|
@@ -127,4 +127,4 @@ Say hi on [twitter](https://twitter.com/manrajsgrover)
|
127 | 127 |
|
128 | 128 | ## License
|
129 | 129 |
|
130 |
| -[MIT](https://github.com/ManrajGrover/algorithms-js/blob/master/LICENSE) © Manraj Singh |
| 130 | +[MIT](https://github.com/manrajgrover/algorithms-js/blob/master/LICENSE) © Manraj Singh |
0 commit comments