News for hackers. Stuff that matters.
Re: by janalsncm on Thursday June 12, 2025 @04:20PM (#44262731)
It’s not correct.

In move 95 the disks are

Tower 1: 10, 9, 8, 5, 4, 3, 2, 1

Tower 2: 7

Tower 3: 6

It attempts to move disk 6 from tower 2 to tower 3, but disk 6 is already at tower 3, and moving 7 on top of 6 would be illegal.

In fact this demonstrates that o3 is unable to implement a simple recursive algorithm.

There are no comments on this comment yet.