Commit

ea9f5d6

Rubyists: guess what this does:
ruby
arr.map{arr.shift}

commit ea9f5d6

Along similar lines, this is a fun one:
ruby
arr.max_by &arr.tally
.. as a way to return an array's most frequent element.