{
"children": [
{
"children": [
{
"children": [],
"goal": "Compare current elements to decide which to append"
}
],
"goal": "Align elements from both arrays"
},
{
"children": [
{
"children": [],
"goal": "Ensure all elements are included and order is maintained"
}
],
"goal": "Finalize merged array"
}
],
"goal": "Merge two sorted arrays into a single sorted array"
}
Mixed goals generated by the LLM (correct + distractors).