https://github.com/shahadathhs/leetcode-javascript
JavaScript-only LeetCode questions with solutions, explanations, and concept-based tagging.
https://github.com/shahadathhs/leetcode-javascript
algorithms data-structures javascript leetcode leetcode-javascript leetcode-solutions leetcode-typescript typescript
Last synced: about 2 months ago
JSON representation
JavaScript-only LeetCode questions with solutions, explanations, and concept-based tagging.
- Host: GitHub
- URL: https://github.com/shahadathhs/leetcode-javascript
- Owner: shahadathhs
- Created: 2025-07-18T13:45:01.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-07-28T03:18:10.000Z (5 months ago)
- Last Synced: 2025-07-28T05:25:13.928Z (5 months ago)
- Topics: algorithms, data-structures, javascript, leetcode, leetcode-javascript, leetcode-solutions, leetcode-typescript, typescript
- Language: TypeScript
- Homepage: https://leetcode.com/u/shahadathhs
- Size: 339 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode JavaScript 🚀
> A curated, JavaScript-only collection of LeetCode problems with **solutions**, **tests**, and **concept-based tags** to supercharge your learning.
---
## 📖 Repository Summary
This repo helps you:
* Tackle LeetCode problems in **vanilla JavaScript/TypeScript**
* Learn key concepts via **tags** (e.g., Prototype Chain, Recursion)
* Verify your solutions instantly with **Jest tests**
* Run a single problem or the entire suite
* Integrate into CI (GitHub Actions)
---
## ⚡ Usage
### 1. Install dependencies
```bash
pnpm install
```
### 2. Run all tests
```bash
pnpm test
```
### 3. Run tests for a single problem
```bash
pnpm test:problem 2618
```
---
## 🤝 Contributing
1. **Add a new problem**:
* Create `src/app/-.ts`
* Include `// * Concepts: ...` tags at the top
2. **Add tests**:
* Create `src/__tests__/-.test.ts`
* Follow the `describe.each` format for both implementations
3. **Verify everything**:
```bash
pnpm lint && pnpm format && pnpm test
```
4. **Open a PR** and we'll review!
Thanks for helping build this **JavaScript LeetCode powerhouse**!