Présentation du problème

Find Minimum


Find the smallest element in an array.

easy
Generate Goal Tree Build Plan

Goal Tree Generated by LLM

{
  "children": [
    {
      "children": [
        {
          "children": [],
          "goal": "Determine array size and element type"
        }
      ],
      "goal": "Analyze array structure"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Identify minimal element through pairwise comparison"
        }
      ],
      "goal": "Develop comparison strategy"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Confirm no smaller element exists"
        }
      ],
      "goal": "Validate result"
    }
  ],
  "goal": "Find the smallest element in an array"
}
    

Generated Goals

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

  • Check if the array is sorted
  • Determine the array's length
  • Identify minimal element through pairwise comparison
  • Identify the array's data type
  • Confirm no smaller element exists
  • Analyze array structure
  • Validate result
  • Determine array size and element type
  • Develop comparison strategy