LeetCode-Canvas is a browser extension tailored for LeetCode users, providing a built-in drawing tool to visually map out coding problems. Integrated directly into the LeetCode problem page, users can access the tool with a simple click (located at the top right of the page). This extension eliminates the need to switch between tabs or external paint applications, allowing users to draw and annotate their thought process directly alongside the problem.
Visualizing problems is a widely recommended technique in the coding community. Since LeetCode doesn't offer its own drawing tool, LeetCode-Canvas fills this gap by offering an easy, seamless solution.
-
User-Friendly Interface: LeetCode-Canvas is designed with simplicity and focus in mind, ensuring users can concentrate on problem-solving without distractions.
-
Versatile Drawing Tools: Includes a paintbrush with customizable colors and brush sizes, an eraser tool, undo/redo functionality, and a clear canvas option to reset everything with one click.
-
Image Upload: Users can enhance their visual aids by dragging and dropping images directly onto the canvas.
-
Cross-Platform Compatibility: As a browser extension, LeetCode-Canvas works on any computer with a compatible web browser, making it accessible from anywhere.
- Opening LeetCode-Canvas
- Using LeetCode-Canvas
LeetCode-Canvas is an open-source project, and contributions are highly encouraged! If you want to help improve LeetCode-Canvas, follow these steps:
-
Fork the Repository: Click the fork button at the top right of this page to create your own copy of the repository.
-
Clone Your Fork: Clone your fork to your local machine using:
git clone https://github.com/your-username/LeetCode-Canvas.git
-
Create a Feature Branch: Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Make Your Changes: Implement your changes and ensure everything works as expected.
-
Commit Your Changes: Commit your changes with a descriptive message:
git commit -m "Add some feature" -
Push to Your Fork: Push your changes to your fork:
git push origin feature-name
-
Open a Pull Request: Go to the original repository and open a pull request. Provide a detailed description of your changes and why they should be merged.
This project is licensed under the MIT License - see the LICENSE file for details.

