Skip to content

Instantly share code, notes, and snippets.

View epv44's full-sized avatar

Eric Vennaro epv44

View GitHub Profile
@epv44
epv44 / question.swift
Last active May 3, 2018 18:57
stitch fix phone question
//This is model setup, the important stuff is at the bottom.
enum ClothingColor {
case red, green, blue, purple, silver
}
enum ClothingPattern {
case solid, polkadots, checks, herringbone
}
@epv44
epv44 / LinkedList.rb
Created September 8, 2016 02:32
A linked list in Ruby, includes reverse and print
class Node
attr_accessor :node, :next
def initialize(node)
@node = node
end
end
####
# add - inserts the specified element at the specified position, returns true on success