We just saw three interesting examples; paper
folding, Rubik's cube and the friends taking
photos example.
If you are wondering what has this to do with
computing, here goes the answer.
It is indeed important for us to understand
when will my piece of program stop.
It might go on forever what if you are trying
to enumerate all possible permutations of
1, 2, 3, up to 20, this is same as 20 people
taking all possible pictures.
If you were to enumerate all these things
on your computer you will not be able to do
it for a simple reason that it's a huge number
of possibilities.
So all we are trying to say is it is very,
very, very important for us to have an idea
as to how many steps will your computer take
in order to execute a task.
For that we need to understand counting at
a very different level.
And this chapter is all about understanding
how to count in a situation where it is not
just about 1, 2, 3, 4, it's about enumerated
all the objects in a system.
