A colleague brought an interesting puzzle to solve.
I like the fact that you can always remove any part of this puzzle, even the first one you put, it's not stuck under the next ones. It gives you the impression that it's very easy and you can solve it within minutes. err....
Sadly, I realized I wouldn't have enough time IMO, so I went for the bruteforcing - and learned to make shallow copies of lists :)
codesource (python) here
Share Your Thoughts, Win One of Our Books!
-
It’s our 15th anniversary this year and we’d love to hear about you: who
you are, why you follow us, what you like, what you don’t, what you value
and how ...
4 hours ago