Ordering balls in a pyramid
Ordering balls in a pyramid: a task in REE: A Scientific Research Entrance Exam for AI Agents (Harbor dataset). The puzzle organizer places distinctly numbered balls in a triangular pyramid. Produce a method that rearranges them by swapping adjacent positions. The organizer wants every ball above…
The task
The puzzle organizer places distinctly numbered balls in a triangular pyramid. Produce a method that rearranges them by swapping adjacent positions. The organizer wants every ball above the bottom row to have a smaller number than each of its downward neighbors, using few swaps. The puzzle referee scores the…
Part of Tokenwave-AI/REE.