Présentation du problème

Palindrome


Check whether a word is a palindrome.

medium
Generate Goal Tree Build Plan

Goal Tree Generated by LLM

{
  "children": [
    {
      "children": [
        {
          "children": [],
          "goal": "Identify the sequence of characters"
        }
      ],
      "goal": "Analyze the word\u0027s structure"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Verify symmetry of character pairs"
        }
      ],
      "goal": "Compare mirrored positions"
    }
  ],
  "goal": "Determine if a given word reads the same forwards and backwards"
}
    

Generated Goals

Mixed goals generated by the LLM (correct + distractors).

  • Compute the frequency of each letter
  • Determine the length of the word
  • Analyze the word's structure
  • Compare mirrored positions
  • Verify symmetry of character pairs
  • Check if the word contains only alphabetic characters
  • Identify the sequence of characters