https://github.com/raumildhandhukia/leetcode-time-complexity-analyzer
LeetCode Chrome Extension for Time/Space Complexity Analysis
https://github.com/raumildhandhukia/leetcode-time-complexity-analyzer
algorithms dsa education leetcode webpack
Last synced: 7 months ago
JSON representation
LeetCode Chrome Extension for Time/Space Complexity Analysis
- Host: GitHub
- URL: https://github.com/raumildhandhukia/leetcode-time-complexity-analyzer
- Owner: raumildhandhukia
- Created: 2025-03-04T00:21:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-02T21:28:25.000Z (7 months ago)
- Last Synced: 2025-04-02T22:27:43.808Z (7 months ago)
- Topics: algorithms, dsa, education, leetcode, webpack
- Language: TypeScript
- Homepage: https://www.algometerai.com/
- Size: 10.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode Time Complexity Analyzer Chrome Extension
A Chrome extension that adds a draggable and collapsible time complexity analyzer to LeetCode's coding interface.
## Tech Stack
- **Frontend**:
- React with TypeScript
- CSS Modules for styling
- react-draggable for component positioning- **Chrome Extension**:
- Manifest V3
- Content Scripts for DOM interaction
- Chrome Storage API for state management- **Build Tools**:
- Webpack for bundling
- TypeScript for type safety
- ESLint for code quality## Features
- Automatically detects Monaco editor on LeetCode
- Draggable component that can be positioned anywhere on the screen
- Collapsible interface for better space management
- Persists position between page loads## Development Setup
1. Install dependencies:
```bash
npm install
```2. Build the extension:
```bash
npm run build
```3. Load the extension in Chrome:
- Open Chrome and navigate to `chrome://extensions/`
- Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select the `dist` folder in this project4. For development with hot reload:
```bash
npm run watch
```## Usage
1. Visit any LeetCode problem page
2. The analyzer will automatically appear when the Monaco editor is detected
3. Drag the analyzer using the header bar
4. Collapse/expand using the button on the right edgenpm run build
cd /Users/raumildhandhukia/CascadeProjects/leetcode-time-analyzer && npm run build