Capture→AI: Unstick LeetCode Problems in 60 Seconds

Use PrepOS Cmd+Shift+A to screenshot any LeetCode region and ask GPT-4o or Claude 3.5 Sonnet for hints — without leaving your prep desktop.

Every placement grind hits the same wall: you have been staring at a Medium for forty minutes, three browser tabs open, and you are afraid to open ChatGPT because you will lose focus. PrepOS Capture→AI is built for that exact moment.

How Capture→AI works in PrepOS

Press Cmd+Shift+A anywhere on your screen (even outside the PrepOS window). Drag a rectangle over the LeetCode statement, your failing test case, or a system design whiteboard. PrepOS crops the image and drops it into the built-in AI Chat app with your chosen model — GPT-4o or Claude 3.5 Sonnet vision.

Prompt patterns that actually help

  • “What category is this problem? List 2–3 approaches without code.”
  • “My solution fails on this test case — what invariant did I break?”
  • “Explain this graph problem like I know BFS but not Dijkstra.”

Why a desktop shell beats another ChatGPT tab

In a browser you alt-tab, paste screenshots manually, and drift into unrelated threads. In PrepOS the LeetCode web app, Notes, and AI Chat are dock windows in one shell — plus Hard focus can block Cmd+Q until your Pomodoro ends. Capture→AI keeps you inside the same mental context.

Privacy and API keys

PrepOS does not host your keys on a server. You bring your own OpenAI or Anthropic API key; it is encrypted locally with safeStorage. Screenshots stay on your machine unless you send them to the provider you configured.

Ready to try Capture→AI and the 7-day sprint? Download the latest PrepOS build — free, open-source, macOS / Windows / Linux.