Cognitive Mode logocognitive mode · free chrome extension

Practice DSA with AI,
without cheating yourself.

Cognitive Mode turns ChatGPT, Claude and Gemini into a hint ladder while you solve LeetCode, GeeksforGeeks and takeUforward problems, then brings back the ones you needed help on. Free and open source. No API key. Nothing leaves your browser.

practice on
LeetCode · GeeksforGeeks · takeUforward
hints from
ChatGPT · Claude · Gemini · Perplexity · DeepSeek

try it

You're stuck on 3Sum. You ask ChatGPT.

Instead of the answer appearing instantly, you pick how much help you actually want. Click a level.

chatgpt.com · practicing LeetCode 15. 3Sum (Medium) · 14 min in
My nested loops time out on big inputs. What am I missing?

practice mode

How much help do you want?

Pick a level to see the reply.

how it works

Use AI the way a good mentor would.

  1. step 01

    Open a problem

    On LeetCode, GeeksforGeeks or takeUforward. A small timer starts in the corner. Nothing else changes.

  2. step 02

    Ask your AI like you always do

    ChatGPT, Claude, Gemini, Perplexity or DeepSeek. Cognitive Mode asks how much help you want: a nudge, the approach, an outline or the full solution.

  3. step 03

    Solve it and log it

    After you submit, one tap: solved clean, solved with hints, needed the solution, or didn't solve.

  4. step 04

    Re-solve what needed help

    Those problems come back after 3, 7 and 21 days. Solve one clean and it's locked in.

why it works

Practice that survives the interview.

Attempting first and retrieving later builds the skill. Instant answers skip both.

A hint ladder, not an answer key

Nudge, approach, outline or full solution. You choose how much help each question gets, and the AI you already use sticks to it.

generation · effort · insight

Re-solve until it's yours

Problems you needed help on come back after 3, 7 and 21 days. Spaced retrieval is how solutions move from 'I've seen this' to 'I can write this'.

spacing · recall · readiness

Stays in your browser

No account, no API key, no servers. Practice history lives in Chrome's local extension storage, and the only thing an AI ever sees is the message you send.

local · private · free

why not just…

Blocking AI doesn't teach you. Neither does copy-paste.

Interviews and online assessments are still AI-free. The goal isn't to avoid AI while you practice. It's to only take the help you need, and to come back until you don't need it.

FeatureBlocking AIStudy modesPaid AI tutorsCognitive Mode
Works with the AI you already use
You choose how much help, per question
Brings problems back for a clean re-solve
Free, no API key, no account
Your practice history stays in your browser

questions

Frequently asked

Does Cognitive Mode work with the free version of ChatGPT?

Yes. It works in the browser with ChatGPT, Claude, Gemini, Perplexity and DeepSeek, on free or paid accounts. It adds a short hint-level instruction to the message you send, so the AI you already use writes the hint.

Do I need an API key or an account?

No. There is no API key, no sign-up and no paid tier. Install the extension and open a problem.

Which practice sites does it support?

LeetCode, GeeksforGeeks and takeUforward practice pages, including the problems on Striver's A2Z sheet.

What data leaves my browser?

Nothing from Cognitive Mode. Your practice history, settings and notes are stored in Chrome's local extension storage on your device. The only thing an AI sees is the message you choose to send, including the hint instructions, which stay visible in the chat.

How is this different from LeetCode's built-in hints or ChatGPT Study Mode?

Built-in hints are fixed, and Study Mode is a separate tutoring mode you switch on per chat. Cognitive Mode works across the AIs you already use, lets you choose exactly how much help each question gets, and remembers which problems you solved clean so it can bring the others back.

Will it slow me down?

No. Practice mode has no timers or forms. When you ask an AI about the problem you're on, you pick a hint level with one keypress, or send your message as is.

What if I really need the full solution?

Pick level 4. It's logged as needing the solution, and the problem comes back in 3 days for a clean re-solve. Reading a solution once isn't the same as being able to write it in an interview.

Is Cognitive Mode open source?

Yes, under the MIT license. The extension and this website are on GitHub, where you can read the code, report a bug or ask for another practice site or AI: github.com/hsingla378/cognitivemode.app