Random LeetCode Question Picker is a simple Chrome extension that fetches and displays a random LeetCode question for you to solve. This extension helps you practice coding problems randomly picked from LeetCode's extensive library.
- Fetches a random LeetCode question
- Displays the question title and link to the problem on LeetCode
- Simple and easy-to-use interface
-
Clone this repository to your local machine:
git clone https://github.com/your-username/random-leetcode-question-picker.git
-
Open Google Chrome and navigate to
chrome://extensions/
. -
Enable "Developer mode" using the toggle in the top-right corner.
-
Click on "Load unpacked" and select the directory where you cloned the repository.
-
The extension should now appear in your Chrome extensions list.
-
Open the LeetCode website.
-
Click on the extension icon in the Chrome toolbar to open the popup.
-
Click the "Pick a Random Question" button to fetch a random LeetCode question.
-
A link to the random question will be displayed. Click on the link to open the problem on LeetCode.
manifest.json
: Defines the extension's details and permissions.popup.html
: The HTML file for the extension's popup interface.popup.js
: JavaScript file containing the logic for the popup.background.js
: JavaScript file for handling background tasks and fetching data from the LeetCode API.styles.css
: (Optional) CSS file for styling the popup.icons/
: Directory containing the icon files for the extension.
Contributions are welcome! If you have any suggestions or improvements, please create a pull request or open an issue.
- LeetCode for providing an extensive library of coding problems.