2020-04-16 16:24:20 +02:00
|
|
|
|
2020-10-15 23:42:48 +02:00
|
|
|
## Ciphers
|
|
|
|
* [Merkle Hellman Cryptosystem](https://github.com/TheAlgorithms/Ruby/blob/master/ciphers/merkle_hellman_cryptosystem.rb)
|
|
|
|
|
2020-04-16 16:26:19 +02:00
|
|
|
## Data Structures
|
2020-12-20 05:19:07 +01:00
|
|
|
* Arrays
|
2020-12-28 23:37:24 +01:00
|
|
|
* [Get Products Of All Other Elements](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/arrays/get_products_of_all_other_elements.rb)
|
2020-04-16 16:26:19 +02:00
|
|
|
* Binary Trees
|
|
|
|
* [Inorder Traversal](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/binary_trees/inorder_traversal.rb)
|
|
|
|
* [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)
|
2020-11-02 08:33:27 +01:00
|
|
|
* 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)
|
2020-12-28 00:17:15 +01:00
|
|
|
* Queues
|
|
|
|
* [Queue](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/queues/queue.rb)
|
2020-12-27 23:14:26 +01:00
|
|
|
* Stacks
|
|
|
|
* [Stack](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/stacks/stack.rb)
|
2020-12-27 23:15:21 +01:00
|
|
|
* Tries
|
|
|
|
* [Trie](https://github.com/TheAlgorithms/Ruby/blob/master/data_structures/tries/trie.rb)
|
2020-04-16 16:26:19 +02:00
|
|
|
|
|
|
|
## Discrete Mathematics
|
|
|
|
* [Euclidean Gcd](https://github.com/TheAlgorithms/Ruby/blob/master/discrete_mathematics/euclidean_gcd.rb)
|
|
|
|
* [Lcm](https://github.com/TheAlgorithms/Ruby/blob/master/discrete_mathematics/lcm.rb)
|
|
|
|
|
2021-01-05 23:29:01 +01:00
|
|
|
## Maths
|
2021-01-09 20:10:44 +01:00
|
|
|
* [Abs](https://github.com/TheAlgorithms/Ruby/blob/master/maths/abs.rb)
|
|
|
|
* [Abs Test](https://github.com/TheAlgorithms/Ruby/blob/master/maths/abs_test.rb)
|
|
|
|
* [Aliquot Sum](https://github.com/TheAlgorithms/Ruby/blob/master/maths/aliquot_sum.rb)
|
|
|
|
* [Aliquot Sum Test](https://github.com/TheAlgorithms/Ruby/blob/master/maths/aliquot_sum_test.rb)
|
2021-01-05 23:29:01 +01:00
|
|
|
* [Ceil](https://github.com/TheAlgorithms/Ruby/blob/master/maths/ceil.rb)
|
2021-01-09 20:10:44 +01:00
|
|
|
* [Ceil Test](https://github.com/TheAlgorithms/Ruby/blob/master/maths/ceil_test.rb)
|
2021-01-05 23:29:01 +01:00
|
|
|
* [Square Root](https://github.com/TheAlgorithms/Ruby/blob/master/maths/square_root.rb)
|
2021-01-09 20:10:44 +01:00
|
|
|
* [Square Root Test](https://github.com/TheAlgorithms/Ruby/blob/master/maths/square_root_test.rb)
|
2021-01-05 23:29:01 +01:00
|
|
|
|
2020-04-16 16:26:19 +02:00
|
|
|
## Other
|
|
|
|
* [Fisher Yates](https://github.com/TheAlgorithms/Ruby/blob/master/other/fisher_yates.rb)
|
|
|
|
|
|
|
|
## Project Euler
|
|
|
|
* Problem 1
|
2020-12-29 00:00:05 +01:00
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_1/sol1.rb)
|
2020-04-16 16:26:19 +02:00
|
|
|
* Problem 2
|
2020-12-29 00:00:05 +01:00
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_2/sol1.rb)
|
2020-12-29 00:02:08 +01:00
|
|
|
* Problem 20
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_20/sol1.rb)
|
|
|
|
* Problem 21
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_21/sol1.rb)
|
|
|
|
* Problem 22
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_22/sol1.rb)
|
2020-12-29 00:00:05 +01:00
|
|
|
* Problem 3
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_3/sol1.rb)
|
|
|
|
* [Sol2](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_3/sol2.rb)
|
|
|
|
* Problem 4
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_4/sol1.rb)
|
2020-12-30 16:46:16 +01:00
|
|
|
* [Sol2](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_4/sol2.rb)
|
2020-12-29 00:00:05 +01:00
|
|
|
* Problem 5
|
|
|
|
* [Sol1](https://github.com/TheAlgorithms/Ruby/blob/master/project_euler/problem_5/sol1.rb)
|
2020-04-16 16:26:19 +02:00
|
|
|
|
|
|
|
## Searches
|
2020-11-03 11:06:22 +01:00
|
|
|
* [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)
|
2020-12-28 23:38:53 +01:00
|
|
|
* [Double Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/double_linear_search.rb)
|
2020-11-03 11:06:22 +01:00
|
|
|
* [Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/linear_search.rb)
|
2020-12-21 02:01:42 +01:00
|
|
|
* [Recursive Double Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/recursive_double_linear_search.rb)
|
2020-12-28 23:39:16 +01:00
|
|
|
* [Recursive Linear Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/recursive_linear_search.rb)
|
2021-01-15 08:15:45 +01:00
|
|
|
* [Ternary Search](https://github.com/TheAlgorithms/Ruby/blob/master/searches/ternary_search.rb)
|
2020-04-16 16:26:19 +02:00
|
|
|
|
|
|
|
## Sorting
|
2020-11-03 11:06:22 +01:00
|
|
|
* [Bogo Sort](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/bogo_sort.rb)
|
2020-12-29 00:02:08 +01:00
|
|
|
* [Bogo Sort Test](https://github.com/TheAlgorithms/Ruby/blob/master/sorting/bogo_sort_test.rb)
|
2020-11-03 11:06:22 +01:00
|
|
|
* [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)
|