https://github.com/jin/algorithms_and_data_structures.rb
Implementations of algorithms, data structures and HackerRank solutions in Ruby.
https://github.com/jin/algorithms_and_data_structures.rb
algorithms data-structures interview-practice ruby
Last synced: 3 months ago
JSON representation
Implementations of algorithms, data structures and HackerRank solutions in Ruby.
- Host: GitHub
- URL: https://github.com/jin/algorithms_and_data_structures.rb
- Owner: jin
- Created: 2014-11-07T08:23:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-27T12:30:32.000Z (almost 10 years ago)
- Last Synced: 2025-02-10T14:52:52.135Z (5 months ago)
- Topics: algorithms, data-structures, interview-practice, ruby
- Language: Ruby
- Homepage:
- Size: 353 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Algorithms & Data Structure implementations in Ruby.
Fascinated and curious about Ruby's expressiveness, this repository contains
my implementations of fundamental CS concepts along with miscellaneous
HackerRank solutions.## Inline evaluation
You might stumble across inline comments containing the evaluation of the
statement on that line, e.g.```ruby
ary = [1, 2, 3, 4]
ary # => [1, 2, 3, 4]
```This is accomplished with the amazing
[vim-ruby-xmpfilter](https://github.com/t9md/vim-ruby-xmpfilter). More
information
[here](http://commandercoriander.net/blog/2012/10/10/evaluate-lines-of-ruby-in-vim/).## Benchmark gem
The comparison-benchmark scripts use `benchmark-bigo` addon gem for the `benchmark` stdlb. It requires `gnuplot` to be installed to generate terminal graphs.