SPEAKER 1: Perfect.
So perfect way of thinking
about this as well.
So, thank you so much.
Very nicely done.
And let's suppose the
problem's a little harder.
SPEAKER 2: So now, we're getting
something a little bit different.
So we these giant decks of playing cards
that make an appearance literally once
a year in our office
and the rest of time
they're spent in that
locker outside of my office.
But this is cool because --
SPEAKER 1: You can find
anything on the internet.
SPEAKER 2: You can find
anything on the internet.
SPEAKER 1: Jumbo cards.
SPEAKER 2: That's why I
have to make a note for you
for next year that we just [INAUDIBLE].
SPEAKER 1: And I have to
stop giving them away.
I tend to give away most every
prop that we use on stage,
only to then regret it 364 days later.
SPEAKER 2: Where are those cards?
Oh right, I gave them away.
Nice shuffling.
[LAUGHING]
SPEAKER 1: Nice shuffling.
It was really hard.
Nope, we're done.
SPEAKER 2: But --
SPEAKER 1: That's pseudo random.
SPEAKER 2: Exactly.
It's barely, but that's, you know.
SPEAKER 1: Maybe just not random.
SPEAKER 2: But the cards are actually
a kind of a fundamentally different
sorting problem.
SPEAKER 1: It is.
They're still effectively numbered,
right, from like two on up to ace,
or ace on up to king or whatever.
But there's the suits,
the four different suits.
So there's this opportunity, we hope,
in doing this demonstration for students
to "bucketize" somehow
and realize, maybe it's
easier than sorting 52 cards, why
don't I take each card iteratively.
And if it's a jack, put it over here.
If it's a spade, put it
over here, diamond, club,
and then make a problem that's four
times bigger a quarter of the size.
SPEAKER 2: Right.
SPEAKER 1: But just four times over.
SPEAKER 2: Of course at that point, even
though you've created those buckets,
you're still not done.
You now have this exercise where
you've taken these problems
and made them smaller, but now
you have to do a recombine.
Or as we're going to start to
introduce, the concept of merge.
SPEAKER 1: Yeah.
And so this is kind of meant to
be a precursor to exactly that.
To think about that whole
process of really that
as an operation, an
ingredient that you can feed
into other algorithms and solutions.
