O(n2)
def make_combinations(items)
items.map do |item|
items.map { |inner_item| [item, inner_item] }
end
end
0 100 200 300
O(n2)
O(n)
O(log n)
Slide 27
Slide 27 text
The Future
Slide 28
Slide 28 text
Alan Turing
Slide 29
Slide 29 text
Alan Turing
Computer science
is not
computer programming
Slide 30
Slide 30 text
Alan Turing
It's a way of
thinking
Slide 31
Slide 31 text
Grace Hopper
Slide 32
Slide 32 text
Grace Hopper
Slide 33
Slide 33 text
Grace Hopper
Humans are allergic to
change. They love to say,
"We've always done it this
way." I try to fight that.
That's why I have a clock
on my wall that runs
counter-clockwise.
Slide 34
Slide 34 text
Grace Hopper
A ship in port is safe;
but that is not what
ships are built for.
Sail out to sea and do
new things.
Slide 35
Slide 35 text
Questions? Thoughts?
Find me on twitter
@jeffcohen
jeffcohenonline.com