Thursday, May 12, 2016

Kids are smarter. Even than developers ;)

If you are a developer or know one, you are aware we think we are the smartest of them all.

Today, I was visiting my 4.5 years old daughter schools. They had a session where the kids were showing the parents their "work".

One of the work was to sort ten tiles, numbered one to ten.

Quickly, I did a calculation in my head: I know a pretty smart sorting algorithm, that has complexity n * log n, n is 10 so I'll be done in around 30 moves.

Beat that, I thought, smelling already the victory.

My daughter smiled back, like guessing my thoughts, looked at all the tiles on the table and picked 1, 2, 3 .. 10. So, 10 moves in total.