{
"children": [
{
"children": [
{
"children": [],
"goal": "Determine the length of the string"
},
{
"children": [],
"goal": "Identify character positions"
}
],
"goal": "Analyze the input string"
},
{
"children": [
{
"children": [],
"goal": "Define mapping from original to reversed positions"
}
],
"goal": "Plan the reversal process"
}
],
"goal": "Reverse a string"
}
Mixed goals generated by the LLM (correct + distractors).