Skip to content

The Leetcode Helper Extension is a Chrome extension that uses an AI chatbot powered by OpenAI to help solve Leetcode problems by understanding the full problem context. Users provide their OpenAI API key for assistance with solutions and insights.

Notifications You must be signed in to change notification settings

nehashekhawat255/Leetcode-Helper-Extension

Repository files navigation

LeetCode Helper Extension

LeetCode Helper Extension is a Chrome extension designed to enhance your LeetCode experience. Acting as an AI chatbot, it helps you solve coding problems by leveraging OpenAI's API. The bot understands the full context of the problem, including the question, examples, and the sample code provided by the LeetCode editor.

Features

  • AI-Powered Assistance: The bot provides intelligent solutions and explanations for LeetCode problems.
  • Context Awareness: The bot knows the entire context of the problem, including:
    • Problem description
    • Examples
    • Sample code provided by the editor
  • OpenAI API Integration: Users can input their OpenAI API key for interaction with the bot.

Prerequisites

Before using this extension, ensure you have:

  1. A valid OpenAI API key.
  2. Google Chrome installed on your system.

Installation

Follow these steps to install the LeetCode Helper Extension:

  1. Clone this repository to your local machine:

    git clone https://github.com/nehashekhawat255/leetcode-helper-extension.git
  2. Open Chrome and navigate to chrome://extensions/.

  3. Enable Developer mode by toggling the switch in the top-right corner.

  4. Click on the Load unpacked button and select the folder where you cloned this repository.

  5. The extension should now appear in your list of installed extensions.

Usage

  1. Open LeetCode in your browser.
  2. Click on the LeetCode Helper Extension icon in your Chrome toolbar.
  3. Enter your OpenAI API key in the provided field.
  4. Navigate to any LeetCode problem, and the bot will:
    • Fetch the problem's context.
    • Provide suggestions, hints, and solutions.

API Key Security

Your OpenAI API key is stored locally on your browser and is not transmitted to any third party except OpenAI. Please ensure you handle your API key securely and avoid sharing it with others.


Happy coding with LeetCode Helper Extension!

About

The Leetcode Helper Extension is a Chrome extension that uses an AI chatbot powered by OpenAI to help solve Leetcode problems by understanding the full problem context. Users provide their OpenAI API key for assistance with solutions and insights.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages