Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 792 Bytes

File metadata and controls

24 lines (17 loc) · 792 Bytes

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.

ary = [1, 2, 3, 4]
ary # => [1, 2, 3, 4]

This is accomplished with the amazing vim-ruby-xmpfilter. More information here.

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.