Skip to content

Instantly share code, notes, and snippets.

View ckhatton's full-sized avatar
💭
"A good cake, is a tasty cake."

Chris Hatton ckhatton

💭
"A good cake, is a tasty cake."
View GitHub Profile
# 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)