Skip to content

Instantly share code, notes, and snippets.

View jamesbower's full-sized avatar

James Bower jamesbower

View GitHub Profile
@jamesbower
jamesbower / 1_ruby_quicksort.rb
Last active August 25, 2015 23:14
Here are some things you can do with Gists in GistBox.
# Use Gists to store entire functions
class QuickSort
def self.sort!(keys)
quick(keys,0,keys.size-1)
end
private
def self.quick(keys, left, right)