Loading workspace…
Loading workspace…
Read first — you never hand-write code here.
Your agent writes solution.* on its own computer. The workspace file panel is a read-only, revisioned view: every agent turn flushes the newest revision there. You direct, review, and test — the agent types.
Checking for attempts to resume…
Sample preview. Each attempt gets its own brief and example values. Your exact requirements appear when you start an attempt.
Find two numbers that add to a target and return their positions. Walk the list once, remembering each number seen: for two_sum([2, 7, 11, 15], 9), 9 - 2 = 7 is already seen, so the answer is [0, 1].
Write two_sum(nums, target), which returns the indices of the two numbers that add up to target. Constraints: exactly one solution exists, and the same element cannot be used twice. Aim for a single pass.
def two_sum(nums, target):
# your code here
pass
Each attempt gets its own brief and example values. Exact stage 2–3 requirements appear in the workspace as you unlock them.
Checking your paired computers…
Models come from your installed agent. Local provider usage and billing apply.
Solving with: no computer selected · no provider selected · agent default model. Change these above before starting.
Open your workspace with its own question variant, agent chat, and solution file. Write your first prompt there when you are ready.
Starting sets up the workspace. Your agent begins solving only after you send a prompt on the attempt page.
Loading your attempts…
History belongs to this browser session. Reconnecting a computer does not delete it. Archive retains the attempt and its trace. Delete hides it in this browser only.