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.
- 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.
Before using this extension, ensure you have:
- A valid OpenAI API key.
- Google Chrome installed on your system.
Follow these steps to install the LeetCode Helper Extension:
-
Clone this repository to your local machine:
git clone https://github.com/nehashekhawat255/leetcode-helper-extension.git
-
Open Chrome and navigate to
chrome://extensions/
. -
Enable Developer mode by toggling the switch in the top-right corner.
-
Click on the Load unpacked button and select the folder where you cloned this repository.
-
The extension should now appear in your list of installed extensions.
- Open LeetCode in your browser.
- Click on the LeetCode Helper Extension icon in your Chrome toolbar.
- Enter your OpenAI API key in the provided field.
- Navigate to any LeetCode problem, and the bot will:
- Fetch the problem's context.
- Provide suggestions, hints, and solutions.
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!