You’re on a special mission to save the world from a hostile artificial intelligence called NIM. It’s taken over computers all over the globe and you only have one opportunity to shut it down. NIM will also be working against you, so calculate carefully. Here are the puzzle rules as you float in a boat on 25 stories of water:

You and NIM take turns lowering the water level exactly to 1, 3, or 4 stories. You go first. The water starts at level 25. Whoever lowers the water to level 0 wins. No one can skip a turn or lower the water below 0.

Can you solve the rogue AI riddle? Find out with this TED Ed lesson.

Next: Can you solve the wizard standoff riddle? Can you solve the seven planets riddle? and can you solve the virus riddle?

See more videos about...