medium Set 24 Logic Puzzle

Tower of Hanoi: 2 Disks — Medium #24

Show solution

[{"step":1,"from":"A","to":"B","diskSize":1,"description":"Move disk 1 (smallest) from peg A to peg B."},{"step":2,"from":"A","to":"C","diskSize":2,"description":"Move disk 2 (largest) from peg A to peg C."},{"step":3,"from":"B","to":"C","diskSize":1,"description":"Move disk 1 (smallest) from peg B to peg C."}]

Title
Tower of Hanoi: 2 Disks — Medium #24
DiskCount
2
TaskType
partial-continue
Pegs
A: Peg A (Start)
B: Peg B (Spare)
C: Peg C (Goal)
InitialState
A: [2,1]
B: []
C: []
TargetState
A: []
B: []
C: [2,1]
PartialState
A: [2]
B: [1]
C: []
MovesCompleted
1
Solution
  • {"step":1,"from":"A","to":"B","diskSize":1,"description":"Move disk 1 (smallest) from peg A to peg B."}
  • {"step":2,"from":"A","to":"C","diskSize":2,"description":"Move disk 2 (largest) from peg A to peg C."}
  • {"step":3,"from":"B","to":"C","diskSize":1,"description":"Move disk 1 (smallest) from peg B to peg C."}
OptimalMoveCount
3
Question
The puzzle has been started — 1 move(s) have already been made. The current state is shown below. Continue from this point and move all disks to peg C. How many more moves are needed?
Rules
  • Only one disk may be moved at a time.
  • A disk can only be placed on top of a larger disk or on an empty peg.
  • You must move the entire stack from peg A to peg C.
Hint
2 more moves are needed. The total minimum is 3.