An open API service indexing awesome lists of open source software.

https://github.com/abduldevhub/leetcode-submissions

My LeetCode & NeetCode.io Problem Submissions
https://github.com/abduldevhub/leetcode-submissions

Last synced: 11 days ago
JSON representation

My LeetCode & NeetCode.io Problem Submissions

Awesome Lists containing this project

README

          

# LeetCode & NeetCode Solutions — @AbdulDevHub

> Synced automatically from [NeetCode.io](https://neetcode.io) and [LeetCode.com](https://leetcode.com) · Repository: `LeetCode-Submissions`

---

## What is this?

This repository contains my personal solutions to coding interview problems from two platforms:

- **[NeetCode.io](https://neetcode.io)** — a coding interview preparation platform featuring curated problems, video solutions, and an in-browser code editor. Solutions are pushed here automatically whenever I submit on NeetCode.
- **[LeetCode.com](https://leetcode.com)** — the industry-standard platform for coding interview practice. Solutions are synced here weekly via a GitHub Action.

---

## How GitHub Sync works

### NeetCode
1. **Connect your GitHub account** on [neetcode.io/profile/github](https://neetcode.io/profile/github).
2. **Auto-commit** — every time you submit a solution on NeetCode, it is pushed here automatically (configurable by status).
3. **Bulk Sync** — push all your past solutions at once from the GitHub settings page.
4. **Manual sync** — from the submission history panel on any problem page, sync or remove individual submissions.

### LeetCode
1. A **GitHub Action** runs every Saturday at 8am UTC and pulls the latest accepted submission for each problem.
2. Solutions are committed automatically to the `LeetCode-Problems/` folder — no manual steps needed.
3. The workflow can also be triggered manually from the **Actions** tab at any time.

---

## Repository structure

```
neetcode-submissions/
├── Data Structures & Algorithms/ ← NeetCode solutions by topic
├── Python For Beginners/ ← NeetCode solutions by topic
└── LeetCode-Problems/ ← LeetCode solutions synced via GitHub Action
```

### NeetCode
Solutions are organized by topic folder, then problem ID:
```
/
/
submission-0. ← first submission
submission-1. ← second submission
...
```

**Example:**
```
Data Structures & Algorithms/two-integer-sum/submission-0.py
Data Structures & Algorithms/binary-search/submission-0.ts
Python For Beginners/python-hello-world/submission-0.py
```

### LeetCode
Solutions are organized by problem ID and name:
```
LeetCode-Problems/
-/
. ← latest accepted submission
```

**Example:**
```
LeetCode-Problems/0001-two-sum/two-sum.py
LeetCode-Problems/0021-merge-two-sorted-lists/merge-two-sorted-lists.py
```

---

## Supported languages

| Language | Extension |
|---|---|
| Python | `.py` |
| JavaScript | `.js` |
| TypeScript | `.ts` |
| Java | `.java` |
| C++ | `.cpp` |
| C# | `.cs` |
| Go | `.go` |
| Rust | `.rs` |
| Kotlin | `.kt` |
| Swift | `.swift` |
| SQL | `.sql` |

---

## Settings

### NeetCode
Manage your sync preferences at [neetcode.io/profile/github](https://neetcode.io/profile/github):
- **Auto-commit toggle** — enable or disable automatic commits on submission
- **Status filter** — sync all submissions or accepted only
- **Rename repository** — rename this repo or start fresh with a new one
- **Bulk Sync** — push all past solutions at once (rate-limited)

### LeetCode
Manage the GitHub Action in `.github/workflows/sync_leetcode.yml`:
- **Schedule** — change the `cron` value to adjust sync frequency
- **Manual trigger** — run the workflow on demand from the Actions tab
- **Session refresh** — update `LEETCODE_SESSION` and `LEETCODE_CSRF_TOKEN` secrets when cookies expire

---

*NeetCode sync generated by [NeetCode GitHub Integration](https://neetcode.io) · LeetCode sync powered by [leetcode-sync](https://github.com/joshcai/leetcode-sync)*
```