Find a file
Aboobacker MK f4d6346106
Fix the complexity memoisation check
keys.include? number is not cheap as it is search operation on array and it increases the time complexity. replaced it with `key?` method to fix memoisation check part on O(1) complexity
2021-08-11 09:38:43 +05:30
.github Migrate to ruby/setup-ruby for Ruby 3.0 2021-01-12 02:07:42 +09:00
backtracking close ) 2021-04-01 10:45:41 -07:00
bit_manipulation add comments on output for the error cases 2021-05-02 11:49:20 -04:00
ciphers Clean up 2021-02-06 23:05:54 -08:00
conversions Update weight_conversions.rb 2021-05-01 19:42:04 -07:00
data_structures Merge pull request #161 from jsca-kwok/jk-isomorphic-strings 2021-07-20 19:32:19 -07:00
discrete_mathematics Clean up 2021-02-06 23:05:54 -08:00
dynamic_programming Fix the complexity memoisation check 2021-08-11 09:38:43 +05:30
maths minor changes 2021-06-08 11:31:15 -07:00
other Clean up 2021-02-06 23:05:54 -08:00
project_euler Clean up 2021-02-06 23:05:54 -08:00
searches The Searches folder is renamed to lowercase just like the other folders 2021-04-11 14:39:22 +03:00
sorting Several sorts added 2021-05-06 10:13:25 +03:00
.gitignore Add .gitignore file 2021-03-10 15:07:29 -08:00
CONTRIBUTING.md Change ownership to @vbrazo 2020-12-28 09:14:21 -08:00
DIRECTORY.md Merge pull request #161 from jsca-kwok/jk-isomorphic-strings 2021-07-20 19:32:19 -07:00
LICENSE.md Update LICENSE.md 2021-01-28 03:24:42 -06:00
Rakefile Add Rakefile to run tests 2020-11-15 03:52:05 +09:00
README.md Add Discord badge in README.md 2021-07-18 00:03:43 -05:00

The Algorithms - Ruby

Gitter chat  contributions welcome    Discord chat 

All algorithms implemented in Ruby (for education)

These implementations are for learning purposes only. Therefore they may be less efficient than the implementations in the Ruby standard library.

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Community Channel

We're on Gitter! Please join us.

List of Algorithms

See our directory.