Skip to content

Instantly share code, notes, and snippets.

@jparedes
jparedes / RadixSort.rb
Created March 27, 2012 15:18
My RADIX sort implementation in Ruby
def radixSort(array)
temp = Array.new
array.each do |x|
if temp[x] == nil
temp[x] = 1
else
temp[x] = temp[x] + 1
end
end