optimize_solution
Analyze problem description and suboptimal code to refactor solutions, reducing runtime complexity and improving performance.
Instructions
Refactor solutions to reduce runtime complexity and improve performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The suboptimal source code. | |
| problem | Yes | The full text of the problem description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||