Skip to main content

Quick Start

This five-minute walkthrough takes you from a fresh visit to a completed coding drill: sign in with Google, choose a track, solve a drill in the in-browser editor, run the hidden tests, and reveal the reference solution. No setup, no install, no payment.

Step 1 — Open the app and sign in

  1. Go to interviewpai.aoneahsan.com.
  2. Click Continue with Google on the login screen.
  3. Approve the Google consent prompt. PrepAI creates your account automatically on first sign-in (there is no separate sign-up form). See Accounts & sign-in for details.

Step 2 — Pick a track and a drill

  1. From the dashboard, open Learn → Tracks (or go to /learn/tracks).
  2. Choose a language track — for example JavaScript or TypeScript.
  3. Open a topic, then pick a drill from the list. Each drill card shows its title, difficulty, and your progress.

Step 3 — Solve it in the editor

Every drill opens with a code editor (CodeMirror by default; you can switch to Monaco in settings) pre-filled with starter code — usually a function signature with a // TODO. Read the problem statement and the expected output examples above the editor, then implement your solution.

// Example starter code
function twoSum(nums, target) {
// your solution here
return [-1, -1];
}

Step 4 — Run the hidden tests

Click Run. Your code executes locally in a sandboxed Web Worker (it never leaves your device) and is checked against the drill's assertSource tests — typically six to eight cases per drill. You'll see which cases pass and which fail, with the actual versus expected output.

Stuck? Each drill ships layered hints and a three-tier guide, so you can get a nudge without jumping straight to the answer.

Step 5 — Reveal the solution and record progress

Once your tests pass — or after at least one genuine attempt — reveal the reference solution and read the complexity analysis and follow-up questions. Your completion is saved to your account, so the drill is marked done and your streak and stats update on the dashboard.

What to do next

GoalWhere to go
Rehearse a full interviewMock interviews
Get feedback on your codePeer reviews
See your progressDashboard & analytics
Use a quick utilityDeveloper tools

Troubleshooting

  • The Google popup is blocked. Allow popups for interviewpai.aoneahsan.com, or use the redirect fallback the app offers. On the installed mobile app, native Google sign-in is used instead.
  • My code times out. Drills run with a time budget so infinite loops don't hang the tab. Check for an unintended loop and run again.
  • Tests fail on edge cases. Read the expected-output examples carefully — empty inputs, negatives, and duplicates are common gotchas built into the test set.