# sujith-mg/neetcode architecture

> Architecture diagram of the GitHub repository sujith-mg/neetcode, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sujith-mg/neetcode
- Repository: https://github.com/sujith-mg/neetcode

## Overview

This repository is a NeetCode GitHub Sync export: a collection of standalone interview-problem submissions, not an application with an in-repository runtime. The README documents submission-triggered auto-commit, bulk sync, and per-submission manual sync; those workflows run through NeetCode and GitHub, not code present here. The sampled files implement independent algorithms, so no calls between them are shown. The graph treats the README-described platform workflow as external and the listed source files as stored solutions.

Main entry points: [`Data Structures & Algorithms/duplicate-integer/submission-0.py`](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/duplicate-integer/submission-0.py) (Duplicate check), [`Data Structures & Algorithms/buy-and-sell-crypto/submission-4.java`](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/buy-and-sell-crypto/submission-4.java) (Crypto profit), [`Data Structures & Algorithms/majority-element/submission-0.java`](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/majority-element/submission-0.java) (Majority element), [`Data Structures & Algorithms/merge-sorted-array/submission-0.java`](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/merge-sorted-array/submission-0.java) (Merge arrays)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_learner(("Solver"))
node_neetcode["NeetCode"]
node_github[("GitHub repository")]
node_duplicate["Duplicate check<br/>[submission-0.py]"]
node_crypto["Crypto profit<br/>[submission-4.java]"]
node_majority["Majority element<br/>[submission-0.java]"]
node_merge["Merge arrays<br/>[submission-0.java]"]
node_zeroes0["Move zeroes<br/>[submission-0.py]"]
node_zeroes1["Move zeroes variant<br/>[submission-1.py]"]

node_learner -->|"submits solutions"| node_neetcode
node_neetcode -->|"auto-commits"| node_github
node_neetcode -->|"bulk syncs"| node_github
node_neetcode -->|"manually syncs"| node_github
node_github -->|"stores submission"| node_duplicate
node_github -->|"stores submission"| node_crypto
node_github -->|"stores submission"| node_majority
node_github -->|"stores submission"| node_merge
node_github -->|"stores submission"| node_zeroes0
node_github -->|"stores submission"| node_zeroes1

click node_duplicate "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/duplicate-integer/submission-0.py"
click node_crypto "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/buy-and-sell-crypto/submission-4.java"
click node_majority "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/majority-element/submission-0.java"
click node_merge "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/merge-sorted-array/submission-0.java"
click node_zeroes0 "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/move-zeroes/submission-0.py"
click node_zeroes1 "https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/move-zeroes/submission-1.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_learner,node_neetcode toneIndigo
class node_github toneAmber
class node_duplicate,node_crypto,node_majority,node_merge,node_zeroes0,node_zeroes1 toneTeal
```

## Components

### Other components

- **Solver**
- **NeetCode**
- **GitHub repository**
- [Duplicate check](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/duplicate-integer/submission-0.py): `Data Structures & Algorithms/duplicate-integer/submission-0.py`
- [Crypto profit](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/buy-and-sell-crypto/submission-4.java): `Data Structures & Algorithms/buy-and-sell-crypto/submission-4.java`
- [Majority element](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/majority-element/submission-0.java): `Data Structures & Algorithms/majority-element/submission-0.java`
- [Merge arrays](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/merge-sorted-array/submission-0.java): `Data Structures & Algorithms/merge-sorted-array/submission-0.java`
- [Move zeroes](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/move-zeroes/submission-0.py): `Data Structures & Algorithms/move-zeroes/submission-0.py`
- [Move zeroes variant](https://github.com/sujith-mg/neetcode/blob/main/Data%20Structures%20%26%20Algorithms/move-zeroes/submission-1.py): `Data Structures & Algorithms/move-zeroes/submission-1.py`

## Connections

- Solver → NeetCode: submits solutions (evidence: `README.md`)
- NeetCode → GitHub repository: auto-commits (evidence: `README.md`)
- NeetCode → GitHub repository: bulk syncs (evidence: `README.md`)
- NeetCode → GitHub repository: manually syncs (evidence: `README.md`)
- GitHub repository → Duplicate check: stores submission (evidence: `README.md`)
- GitHub repository → Crypto profit: stores submission (evidence: `README.md`)
- GitHub repository → Majority element: stores submission (evidence: `README.md`)
- GitHub repository → Merge arrays: stores submission (evidence: `README.md`)
- GitHub repository → Move zeroes: stores submission (evidence: `README.md`)
- GitHub repository → Move zeroes variant: stores submission (evidence: `README.md`)
