Skip to content

Instantly share code, notes, and snippets.

View designbyadrian's full-sized avatar
⚛️
Reacting

Adrian von Gegerfelt designbyadrian

⚛️
Reacting
View GitHub Profile
@designbyadrian
designbyadrian / QuickSort.rb
Last active August 29, 2015 14:01
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)