Skip to content

LeetCodeGPT is a Chrome extension that integrates GPT (Generative Pre-trained Transformer) into LeetCode.

License

Notifications You must be signed in to change notification settings

rpidanny/leetcode-gpt

Repository files navigation

LeetCodeGPT

LeetCodeGPT

LeetCodeGPT is a Chrome extension that integrates GPT (Generative Pre-trained Transformer) into the LeetCode, allowing users to automatically solve LeetCode problems with the click of a button.

🚀 Features

  • Auto solve problems

💪 Roadmap

  • Add Advanced hint
  • Publish to Chrome Web store

Installation

To install the extension, follow these steps:

  1. Download the latest release from the GitHub repository.
  2. Unzip the downloaded extension.
  3. Open Google Chrome and go to the Extensions page.
  4. Enable Developer mode.
  5. Click on Load unpacked and select the unzipped extension files.

After installing the extension, you will need to set your OpenAI API Key in the extension settings. To do this, click on the extension icon in the top right corner of your browser window.

In the extension page, enter your OpenAI API Key and choose the OpenAI Model you want to use and click Save.

You can now use the extension to solve LeetCode problems.

Usage

Once the extension is installed and your API Key is set, go to the LeetCode website and navigate to the problem that you want to solve. The extension will add a Solve button next to the Submit button to the problem page.

Clicking the Solve button will prompt the extension to use OpenAI to generate a solution to the problem. The generated solution will be automatically added to the code section.

License

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

Acknowledgments

LeetCodeGPT was created using the OpenAI GPT APIs and was inspired by similar projects that use AI to solve programming problems.

If you have any questions or feedback, please feel free to contact us. Thank you for using LeetCodeGPT!