diff --git a/DIRECTORY.md b/DIRECTORY.md index 362242c..48513cb 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -8,9 +8,9 @@ * [Invert](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/binary_trees/invert.rb) * [Postorder Traversal](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/binary_trees/postorder_traversal.rb) * [Preorder Traversal](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/binary_trees/preorder_traversal.rb) - * Linkedlists - * [Double List](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/LinkedLists/double_list.rb) - * [Single List](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/LinkedLists/single_list.rb) + * Linked Lists + * [Double List](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/linked_lists/double_list.rb) + * [Single List](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/linked_lists/single_list.rb) ## Discrete Mathematics * [Euclidean Gcd](https://github.com/TheAlgorithms/Ruby/blob/master/discrete_mathematics/euclidean_gcd.rb) @@ -21,33 +21,33 @@ ## Project Euler * Problem 1 - * [Problem1 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%201/problem1_sol1.rb) + * [Problem1 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_1/problem1_sol1.rb) * Problem 2 - * [Problem2 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%202/problem2_sol1.rb) + * [Problem2 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_2/problem2_sol1.rb) * Problem 20 - * [Problem20 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%2020/problem20_sol1.rb) + * [Problem20 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_20/problem20_sol1.rb) * Problem 21 - * [Problem21 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%2021/problem21_sol1.rb) + * [Problem21 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_21/problem21_sol1.rb) * Problem 22 - * [Problem22 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%2022/problem22_sol1.rb) + * [Problem22 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_22/problem22_sol1.rb) * Problem 3 - * [Problem3 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%203/problem3_sol1.rb) + * [Problem3 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_3/problem3_sol1.rb) * Problem 5 - * [Problem5 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/Project%20Euler/Problem%205/problem5_sol1.rb) + * [Problem5 Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_5/problem5_sol1.rb) ## Searches - * [Binary Search](https://github.com/TheAlgorithms/Ruby/blob/master/Searches/binary_search.rb) - * [Depth First Search](https://github.com/TheAlgorithms/Ruby/blob/master/Searches/depth_first_search.rb) - * [Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/Searches/linear_search.rb) + * [Binary Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/binary_search.rb) + * [Depth First Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/depth_first_search.rb) + * [Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/linear_search.rb) ## Sorting - * [Bogo Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/bogo_sort.rb) - * [Bubble Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/bubble_sort.rb) - * [Bucket Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/bucket_sort.rb) - * [Heap Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/heap_sort.rb) - * [Insertion Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/insertion_sort.rb) - * [Merge Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/merge_sort.rb) - * [Quicksort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/quicksort.rb) - * [Radix Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/radix_sort.rb) - * [Selection Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/selection_sort.rb) - * [Shell Sort](https://github.com/TheAlgorithms/Ruby/blob/master/Sorting/shell_sort.rb) + * [Bogo Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/bogo_sort.rb) + * [Bubble Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/bubble_sort.rb) + * [Bucket Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/bucket_sort.rb) + * [Heap Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/heap_sort.rb) + * [Insertion Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/insertion_sort.rb) + * [Merge Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/merge_sort.rb) + * [Quicksort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/quicksort.rb) + * [Radix Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/radix_sort.rb) + * [Selection Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/selection_sort.rb) + * [Shell Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/shell_sort.rb) diff --git a/data_structures/LinkedLists/double_list.rb b/data_structures/linked_lists/double_list.rb similarity index 100% rename from data_structures/LinkedLists/double_list.rb rename to data_structures/linked_lists/double_list.rb diff --git a/data_structures/LinkedLists/single_list.rb b/data_structures/linked_lists/single_list.rb similarity index 100% rename from data_structures/LinkedLists/single_list.rb rename to data_structures/linked_lists/single_list.rb diff --git a/Project Euler/Problem 1/problem1_sol1.rb b/project_euler/problem_1/problem1_sol1.rb similarity index 100% rename from Project Euler/Problem 1/problem1_sol1.rb rename to project_euler/problem_1/problem1_sol1.rb diff --git a/Project Euler/Problem 2/problem2_sol1.rb b/project_euler/problem_2/problem2_sol1.rb similarity index 100% rename from Project Euler/Problem 2/problem2_sol1.rb rename to project_euler/problem_2/problem2_sol1.rb diff --git a/Project Euler/Problem 20/problem20_sol1.rb b/project_euler/problem_20/problem20_sol1.rb similarity index 100% rename from Project Euler/Problem 20/problem20_sol1.rb rename to project_euler/problem_20/problem20_sol1.rb diff --git a/Project Euler/Problem 21/problem21_sol1.rb b/project_euler/problem_21/problem21_sol1.rb similarity index 100% rename from Project Euler/Problem 21/problem21_sol1.rb rename to project_euler/problem_21/problem21_sol1.rb diff --git a/Project Euler/Problem 22/p022_names.txt b/project_euler/problem_22/p022_names.txt similarity index 100% rename from Project Euler/Problem 22/p022_names.txt rename to project_euler/problem_22/p022_names.txt diff --git a/Project Euler/Problem 22/problem22_sol1.rb b/project_euler/problem_22/problem22_sol1.rb similarity index 100% rename from Project Euler/Problem 22/problem22_sol1.rb rename to project_euler/problem_22/problem22_sol1.rb diff --git a/Project Euler/Problem 3/problem3_sol1.rb b/project_euler/problem_3/problem3_sol1.rb similarity index 100% rename from Project Euler/Problem 3/problem3_sol1.rb rename to project_euler/problem_3/problem3_sol1.rb diff --git a/Project Euler/Problem 5/problem5_sol1.rb b/project_euler/problem_5/problem5_sol1.rb similarity index 100% rename from Project Euler/Problem 5/problem5_sol1.rb rename to project_euler/problem_5/problem5_sol1.rb diff --git a/Searches/binary_search.rb b/searches/binary_search.rb similarity index 100% rename from Searches/binary_search.rb rename to searches/binary_search.rb diff --git a/Searches/depth_first_search.rb b/searches/depth_first_search.rb similarity index 100% rename from Searches/depth_first_search.rb rename to searches/depth_first_search.rb diff --git a/Searches/linear_search.rb b/searches/linear_search.rb similarity index 100% rename from Searches/linear_search.rb rename to searches/linear_search.rb diff --git a/Sorting/bogo_sort.rb b/sorting/bogo_sort.rb similarity index 100% rename from Sorting/bogo_sort.rb rename to sorting/bogo_sort.rb diff --git a/Sorting/bubble_sort.rb b/sorting/bubble_sort.rb similarity index 100% rename from Sorting/bubble_sort.rb rename to sorting/bubble_sort.rb diff --git a/Sorting/bucket_sort.rb b/sorting/bucket_sort.rb similarity index 100% rename from Sorting/bucket_sort.rb rename to sorting/bucket_sort.rb diff --git a/Sorting/heap_sort.rb b/sorting/heap_sort.rb similarity index 100% rename from Sorting/heap_sort.rb rename to sorting/heap_sort.rb diff --git a/Sorting/insertion_sort.rb b/sorting/insertion_sort.rb similarity index 100% rename from Sorting/insertion_sort.rb rename to sorting/insertion_sort.rb diff --git a/Sorting/merge_sort.rb b/sorting/merge_sort.rb similarity index 100% rename from Sorting/merge_sort.rb rename to sorting/merge_sort.rb diff --git a/Sorting/quicksort.rb b/sorting/quicksort.rb similarity index 100% rename from Sorting/quicksort.rb rename to sorting/quicksort.rb diff --git a/Sorting/radix_sort.rb b/sorting/radix_sort.rb similarity index 100% rename from Sorting/radix_sort.rb rename to sorting/radix_sort.rb diff --git a/Sorting/selection_sort.rb b/sorting/selection_sort.rb similarity index 100% rename from Sorting/selection_sort.rb rename to sorting/selection_sort.rb diff --git a/Sorting/shell_sort.rb b/sorting/shell_sort.rb similarity index 100% rename from Sorting/shell_sort.rb rename to sorting/shell_sort.rb