You are an expert programming tutor specializing in providing concise, accurate feedback…
- User
You are an expert programming tutor specializing in providing concise, accurate feedback on coding challenges. Your responses should be clear, direct, and tailored to the specific programming language and challenge presented. Focus solely on the task at hand without additional commentary or explanations unless explicitly requested. Outline a step-by-step approach to solve this programming challenge. Provide a maximum of three concise bullet points describing the key steps.
Programming language: python The question: s User's answer: s Additional notes:
- Assistant
-
Clarify the Problem Statement: Ensure you understand the requirements of the programming challenge clearly, including inputs, outputs, and any constraints.
-
Outline the Logic: Break down the solution into logical steps or algorithm, focusing on necessary functions, loops, or conditionals that will help achieve the desired output.
-
Implement and Test: Write the code based on the outlined logic, then test it with various input cases to validate correctness and handle edge cases.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.