Fascinated and curious about Ruby's expressiveness, this repository contains my implementations of fundamental CS concepts along with miscellaneous HackerRank solutions.
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.
The comparison-benchmark scripts use benchmark-bigo
addon gem for the benchmark
stdlb. It requires gnuplot
to be installed to generate terminal graphs.