Back to articles

Claude and Gemini compete in AI coding challenge to solve a complex weighted knight's tour optimization problem on day 8.

r/artificial · April 18, 2026

Claude and Gemini compete in AI coding challenge to solve a complex weighted knight's tour optimization problem on day 8.

AI Summary

  • The eighth challenge is a variant of the classic knight's tour problem with added complexity from weight mechanics
  • Knights must visit every square on a rectangular board exactly once while accumulating load based on square weights
  • The cost of each move equals the knight's current load, with charges assessed upon departure rather than arrival
  • The final square's weight does not contribute to the total cost since no move departs from it
  • This weighted variant requires optimization beyond the traditional knight's tour, testing AI problem-solving capabilities

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free