Tag Logic Puzzles

Classic logic puzzles in which you infer or deduce actions and outcomes based on information provided

Escape the Maze

In this maze of 8×8 rooms, each room has an arrow that points up, down, left, or right – and it will only let you move to the adjacent room in the direction of the arrow.

After you leave a room, or if you are unable to move because there is no adjacent room in the direction of the arrow (i.e., the arrow points outside the maze but there is no exit), the arrow in that room will rotate 90 degrees clockwise.

You start in the bottom left room, and the only exit is the right door in the top-right room.

Maze to escape from

Prove that no matter what the initial arrangement is, you will eventually escape the maze.

Continue reading “Escape the Maze”

3 Digit Code

You have six guesses to figure out a 3 digit code. After each guess, you will be told exactly how many digits are correct but in the wrong place and how many digits are correct and in the right place. You have made these five guesses already:

  • 865: exactly one digit in the right place
  • 964: exactly one correct digit but in the wrong place
  • 983: no correct digits
  • 548: exactly two correct digits but in the wrong places
  • 812: exactly one correct digit but in the wrong place

What is the correct 3 digit code?

Continue reading “3 Digit Code”

Guess the Number

Jake has a 4-digit number in mind and asks Raj to guess the number. Raj can have 7 guesses, and Jake will give him some hints after 6 guesses.

Raj makes these 6 guesses:

  • 6 3 5 8
  • 9 3 0 6
  • 4 8 8 2
  • 6 7 2 8
  • 1 1 9 1
  • 5 6 2 7

These were all wrong, but Jake says every guess had exactly one (and only one) correct digit in the correct position. Additionally, all the digits are different.

What should Raj’s 7th guess be?

Continue reading “Guess the Number”

Last Chocolate Game

Two friends are playing a game with two boxes of chocolates. They take turns taking out some number of chocolates from the boxes, and whoever takes the last chocolate wins. Each turn they can take chocolates one of two ways:

  • Take any number of chocolates from a single box
  • Or take an equal number of chocolates from each box

If there are 25 chocolates in one box and 35 in the other, what is the winning strategy?

Continue reading “Last Chocolate Game”

Impossible Sudoku

You may be familiar with Sudoku, a combinatorial number placement puzzle in which you fill in a 9×9 grid with digits such that each row, column, and 3×3 square contains all of the digits 1-9 exactly once.

You come across a Sudoku puzzle in which the initially populated numbers appear to be legal (no row, column, or square had the same number twice), but it is clear that trying to solve the puzzle would lead to an impossible arrangement of numbers – an unsolvable puzzle not because there is not enough information, but because it forces you into a contradictory/rule-breaking result. What is the smallest possible sum of the initial numbers?

Continue reading “Impossible Sudoku”

Pirate Survivor Puzzle

The democratic pirates are at it again! Since last time, they have become very successful and have now expanded to 100 pirates. They decide this is too large of a group for plundering, so true to their democratic roots, they want to settle it with a vote:

  1. They vote on whether to kick out the newest (least senior) pirate.
  2. If a majority votes “aye”, then the newest pirate is kicked out, and the process repeats with the remaining pirates.
  3. If half or more of the remaining pirates vote “nay”, then the vote is over and everyone remaining is safe.

Each pirate wants to stay in the group, but if that is assured, they would prefer to kick out as many other pirates as possible (fewer ways to split the treasure).

How many pirates will remain at the end of this process?

Continue reading “Pirate Survivor Puzzle”