Isha290503/LeetCode_mentorAI ? reverse-engineered prompt

Reverse engineered prompt

Build me a Chrome extension called LeetCode AI Mentor that helps me review my LeetCode answers right inside the site.

When I open a LeetCode problem and click the extension icon, it should pull in the current problem statement and my code from the editor, then send both to Google Gemini and show me useful feedback in a popup. I want it to tell me if the solution looks correct, estimate time and space complexity, point out possible improvements, and give guided hints instead of just revealing the answer.

Please also include a simple settings page where I can paste and save my Gemini API key securely in Chrome storage, and make the popup easy to use with a clear Analyze Solution button and visible results. Keep it lightweight and polished, and make sure it works as a normal Chrome extension on LeetCode. If you need to check current Gemini or Chrome extension docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab