AutoFeedback API

Result b0461ad3-e671-40e7-bdac-893c8dd68617

{
  "llm" : {
    "feedback" : "Exercise: sortalgs\n\n1. Correctness\n\n2. Suggestion\n\n3. Code Style\n- In `SelectionSort`, the outer loop runs up to `i < data.size()`. That last iteration can’t find any smaller element (inner loop won’t run) and leads to a redundant `swap(i, i)`. Consider tightening the loop bound to avoid unnecessary work.\n- You call `data.size()` repeatedly inside loop conditions; storing it once in a local variable (e.g., `n`) improves readability and avoids repeated method calls.\n",
    "status" : "SUCCESS"
  }
}