Skip to content

Solving Problems

You're a student, your teacher gave you an AlgoStudio link — here's everything you can do.

Log in and find your course

Log in with GitHub. Your home page lists the courses assigned to you, what you last worked on, and your stats. Press Ctrl+K anywhere to search courses, problems, and pages.

The problem page

Open a problem and you get the statement on the left, a code editor on the right:

Control Shortcut Does
RUN F5 Submits your code; per-test results appear below the editor
Save draft Ctrl+S Saves your code to the cloud — it follows you across devices and into VS Code
History Every past run; click one to see its results again
AI tutor Hints and explanations (see below)
Clear Empties the editor

Each test case expands to show the call, anything you printed, errors, and your return value next to the expected one. Failed cases sort first. What exactly counts as "correct" is defined here — short version: your function's return value must match; printing doesn't grade.

Your code runs in an isolated sandbox with no internet access — see Limits & sandboxing.

The AI tutor

The AI button on a problem opens a tutor that knows the problem and your current code. It gives hints, explains errors, and answers questions — it will not write the solution for you. It runs on your own Anthropic API key: add one under Preferences → AI API key (sk-ant-...).

Preferences

Preferences (sidebar on home) holds your display name, avatar, theme gallery, email notifications, AI key — and your API token.

Working in VS Code

Prefer a real editor? The AlgoStudio VS Code extension gives you the course tree, problem statements, cloud-synced drafts, and submissions inside VS Code:

  1. Preferences → API token → copy it
  2. In VS Code settings, set algostudio.token (and algostudio.apiUrl if your school told you one)
  3. Click the AlgoStudio icon in the activity bar

Saving the solution file cloud-saves your draft (the same draft the web editor sees); the run button submits and shows per-test results in the bottom panel.

Keep the token secret

The token is your login for the extension. If it leaks, reset it in Preferences — the old one stops working immediately.