Skip to content

๐Ÿง  AI-powered LeetCode companion that provides intelligent hints, scores your understanding, and helps you learn DSA concepts step-by-step

License

Notifications You must be signed in to change notification settings

itsaryanchauhan/ThinkDSA-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  ThinkDSA AI Extension - Your LeetCode Learning Companion

ThinkDSA AI Logo

Transform your LeetCode experience with AI-powered hints and real-time scoring!

Made with โค๏ธ Chrome Extension JavaScript


โ˜• Support the Project

Buy Me A Coffee

Your support helps us build better features and maintain this free extension!

๐Ÿš€ What is ThinkDSA AI Extension?

ThinkDSA AI Extnsion is a powerful Chrome extension that revolutionizes how you learn algorithms and data structures on LeetCode. Instead of giving away solutions, it provides intelligent hints and tracks your understanding with an AI-powered scoring system.

๐ŸŽฌ Demo

ThinkDSA AI Extension Demo Video

๏ฟฝ Click the thumbnail above to watch ThinkDSA AI Extension in action!

โœจ Key Features

  • ๐Ÿค– Smart AI Hints - Get contextual guidance without spoiling the solution
  • ๐Ÿ“Š Real-time Scoring - Track your understanding with detailed breakdowns
  • ๐ŸŽฏ Progressive Learning - Unlock Run/Submit buttons only when you truly understand (80+ score)
  • ๐ŸŽจ Clean UI Integration - Seamlessly integrates with LeetCode's interface
  • ๐Ÿ’พ Progress Tracking - Your scores are saved per problem for future reference

๐ŸŽฏ How It Works

  1. Load a LeetCode Problem - The extension automatically activates
  2. Get Initial Guidance - Sudo provides a first hint to get you started
  3. Write Your Code - Implement your solution in the editor
  4. Ask for Help - Click "Ask Sudo" for intelligent, contextual hints
  5. Track Progress - Watch your understanding score improve in real-time
  6. Unlock Features - Achieve 80+ score to unlock Run/Submit buttons

๐Ÿงฎ Scoring System

Your AI score is calculated across four key areas:

Category Weight Description
Conceptual Understanding 25% How well you grasp the problem
Implementation Quality 25% Code structure and approach
Optimization 25% Efficiency and algorithmic thinking
Edge Case Handling 25% Robustness and completeness

๐Ÿ“ฅ Installation & Setup

Method 1: From Microsoft Edge Add On Store

  1. Visit the Microsoft Edge Add on
  2. Click "Add to Edge"
  3. Enable the extension

P.S. I'm a broke college student who spent way too much on coffee while building this extension... so if you find it helpful, maybe buy me one back? ๐Ÿฅบโ˜•

Method 2: Manual Installation (Developer Mode)

  1. Download the Extension

    git clone https://github.com/itsaryanchauhan/ThinkDSA-Extension.git
    cd ThinkDSA-Extension
  2. Load in Chrome

    • Open Chrome and go to chrome://extensions/
    • Enable "Developer mode" (top right toggle)
    • Click "Load unpacked"
    • Select the extension folder
  3. Configure the Extension

    • Get a Gemini API key from Google AI Studio
    • Click the extension icon in Chrome toolbar
    • Enter your API key
    • Toggle "Enable Extension" to ON
    • You're ready to go!

๐ŸŽฎ How to Use

Step-by-Step Guide

  1. ๐ŸŒ Navigate to LeetCode

    • Go to any LeetCode problem page
    • The extension will automatically load
  2. ๐Ÿ‘๏ธ Expand Code Viewport โš ๏ธ

    • Important: Before clicking "Ask Sudo", expand your code editor viewport
    • Make sure ALL your code is visible in the window
    • This ensures the AI can see your complete solution
    • We're working on a fix so you won't need to do this manually!
  3. ๐Ÿš€ Get Your First Hint

    • The extension provides an initial hint automatically
    • Your score starts at 0/100
  4. ๐Ÿ’ก Ask for More Help

    • Write some code first
    • Click "Ask Sudo" for intelligent hints
    • Your score updates based on your progress
  5. ๐Ÿ“ˆ Track Your Progress

    • Hover over the ๐Ÿง  score button for detailed breakdown
    • Green score (80+) = Run/Submit buttons unlocked!

๐ŸŽจ UI Elements

  • ๐Ÿ”ถ Ask Sudo Button - Get AI-powered hints
  • ๐Ÿง  Score Display - Shows your current understanding (hover for breakdown)
  • โ˜• Buy Me Coffee - Support the project
  • ๐Ÿ“‹ AI Response Panel - Replaces the testcase tab with AI feedback

๐Ÿ”ฎ Future Features & Roadmap

We're constantly improving ThinkDSA AI! Here's what's coming next:

๐ŸŽฏ Planned Features

Feature Status Description
๐Ÿค– Multiple AI Models ๐Ÿ”„ Planning Choose between GPT-4, Claude, Gemini
๐ŸŽจ Custom Themes ๐Ÿ”„ Planning Dark/Light themes, custom color schemes
๐Ÿ“Š Advanced Analytics ๐Ÿ”„ Planning Progress charts, learning insights
๐Ÿ”ง Better Code Detection ๐Ÿšง In Progress Auto-detect all code without viewport expansion
๐Ÿ’ฌ Smart Prompting ๐Ÿ”„ Planning More contextual and personalized hints
๐Ÿ“ฑ Mobile Support ๐Ÿ’ญ Idea Support for LeetCode mobile interface
๐ŸŽ“ Learning Paths ๐Ÿ’ญ Idea Guided problem sequences by topic
๐Ÿ‘ฅ Community Features ๐Ÿ’ญ Idea Share hints, compare scores
๐Ÿ”Š Voice Hints ๐Ÿ’ญ Idea Audio explanations for accessibility
๐Ÿ“ Note Taking ๐Ÿ’ญ Idea Save notes and insights per problem

๐Ÿ’ก Have More Ideas?

Your feedback is essential! Help us prioritize features by:

  • ๐ŸŒŸ Starring this repository
  • ๐Ÿ› Reporting bugs in Issues
  • ๐Ÿ’ฌ Suggesting features in Discussions
  • โ˜• Supporting development with Buy Me a Coffee

๐Ÿ› ๏ธ Technical Details

Built With

  • JavaScript ES6+ - Core functionality
  • Chrome Extensions API - Browser integration
  • Google Gemini AI - AI-powered hints and scoring
  • CSS3 - Beautiful UI styling

Browser Compatibility

  • โœ… Chrome 88+
  • โœ… Chromium-based browsers (Edge, Brave, etc.)
  • โŒ Firefox (planned for future release)

Permissions Required

  • activeTab - Access to current LeetCode tab
  • storage - Save your progress and scores
  • https://leetcode.com/* - LeetCode integration

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

๐Ÿ› Report Bugs

  1. Check existing issues
  2. Create a new issue with detailed description
  3. Include browser version and error logs

โœจ Suggest Features

  1. Open a discussion
  2. Describe your idea and use case
  3. We'll consider it for future releases!

๐Ÿ‘จโ€๐Ÿ’ป Code Contributions

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • LeetCode - For providing the platform we all love
  • Google AI - For powering our AI hints with Gemini
  • Chrome Extensions Community - For the awesome documentation
  • Contributors - Everyone who helps make this project better!

๐Ÿ“ž Support & Contact


Made with โค๏ธ for the coding community

โญ Star this repo if you found it helpful! โญ

GitHub Stars GitHub Forks

About

๐Ÿง  AI-powered LeetCode companion that provides intelligent hints, scores your understanding, and helps you learn DSA concepts step-by-step

Resources

License

Stars

Watchers

Forks

Sponsor this project