diff --git a/algorithms/JavaScript/README.md b/algorithms/JavaScript/README.md new file mode 100644 index 00000000..6e7fc0c8 --- /dev/null +++ b/algorithms/JavaScript/README.md @@ -0,0 +1,21 @@ +# JavaScript + +## Arrays +1. [Count Inversions](arrays/count-inversions.js) + +## Linked Lists +1. [Singly](linked_lists/singly.js) + +## Searching +1. [Binary Search Recursive](searching/binary-search-recursive.js) +2. [Binary Search](searching/binary-search.js) +3. [Linear Search](searching/linear-search.js) + +## Sorting +1. [Bubble Sort](sorting/bubble-sort.js) +2. [Insertion Sort](sorting/insertion-sort.js) +3. [Selection Sort](sorting/selection-sort.js) + +## Strings +1. [Palindrome](strings/palindrome.js) +2. [Sequence](strings/sequence.js) diff --git a/arrays/js/count-inversions.js b/algorithms/JavaScript/arrays/count-inversions.js similarity index 100% rename from arrays/js/count-inversions.js rename to algorithms/JavaScript/arrays/count-inversions.js diff --git a/linked-lists/js/singly.js b/algorithms/JavaScript/linked-lists/singly.js similarity index 100% rename from linked-lists/js/singly.js rename to algorithms/JavaScript/linked-lists/singly.js diff --git a/searching/js/binary-search-recursive.js b/algorithms/JavaScript/searching/binary-search-recursive.js similarity index 100% rename from searching/js/binary-search-recursive.js rename to algorithms/JavaScript/searching/binary-search-recursive.js diff --git a/searching/js/binary-search.js b/algorithms/JavaScript/searching/binary-search.js similarity index 100% rename from searching/js/binary-search.js rename to algorithms/JavaScript/searching/binary-search.js diff --git a/searching/js/linear-search.js b/algorithms/JavaScript/searching/linear-search.js similarity index 100% rename from searching/js/linear-search.js rename to algorithms/JavaScript/searching/linear-search.js diff --git a/sorting/js/bubble-sort.js b/algorithms/JavaScript/sorting/bubble-sort.js similarity index 100% rename from sorting/js/bubble-sort.js rename to algorithms/JavaScript/sorting/bubble-sort.js diff --git a/sorting/js/insertion-sort.js b/algorithms/JavaScript/sorting/insertion-sort.js similarity index 100% rename from sorting/js/insertion-sort.js rename to algorithms/JavaScript/sorting/insertion-sort.js diff --git a/sorting/js/selection-sort.js b/algorithms/JavaScript/sorting/selection-sort.js similarity index 100% rename from sorting/js/selection-sort.js rename to algorithms/JavaScript/sorting/selection-sort.js diff --git a/strings/js/palindrome.js b/algorithms/JavaScript/strings/palindrome.js similarity index 100% rename from strings/js/palindrome.js rename to algorithms/JavaScript/strings/palindrome.js diff --git a/strings/js/sequence.js b/algorithms/JavaScript/strings/sequence.js similarity index 100% rename from strings/js/sequence.js rename to algorithms/JavaScript/strings/sequence.js