Gistlib Logo

gistlib

other ruby categories

algorithm code snippets in ruby

find the greatest common divisor of a list of numbers in ruby
find the greatest common divisor of two numbers in ruby
find the kth least common element in an array in ruby
find the kth longest word in a string in ruby
find the kth most common element in an array in ruby
find the kth most frequent element in an array in ruby
find the kth smallest number in a list in ruby
find the least common multiple of a list of numbers in ruby
find the median of all nodes in a linked list in ruby
shuffle a string in ruby

gistlibby LogSnag