# gnarendra9014-user/neetcode-submissions architecture

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

- Interactive diagram: https://gitdiagram.com/gnarendra9014-user/neetcode-submissions
- Repository: https://github.com/gnarendra9014-user/neetcode-submissions

## Overview

This is a synced collection of interview-problem solutions, not the NeetCode platform or its GitHub Sync implementation. The README documents account connection and automatic, bulk, and per-submission sync; the source tree contains standalone algorithm submissions with no demonstrated runtime wiring between them. The graph groups representative solutions by topic. Sync links reflect README documentation, not inspected implementation; only sampled algorithms are represented.

Main entry points: [`Data Structures & Algorithms`](https://github.com/gnarendra9014-user/neetcode-submissions/tree/main/Data%20Structures%20%26%20Algorithms) (Synced repository)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_arrays_strings["Arrays &amp; strings"]
  node_array_sort["Array sorting<br/>[submission-0.cpp]"]
  node_three_sum["Three-sum<br/>[submission-0.py]"]
  node_arrays_misc["Array solutions"]
end

subgraph group_stacks["Stacks"]
  node_stack_baseball["Baseball scoring<br/>[submission-0.cpp]"]
  node_stack_parentheses["Parentheses validation<br/>[submission-0.cpp]"]
  node_stack_greater["Next greater element<br/>[submission-0.cpp]"]
end

subgraph group_trees["Binary trees"]
  node_tree_diameter["Tree diameter<br/>[submission-0.cpp]"]
  node_tree_balance["Tree balance<br/>[submission-1.cpp]"]
  node_tree_level["Level traversal<br/>[submission-0.cpp]"]
  node_tree_invert["Tree inversion<br/>[submission-0.cpp]"]
  node_tree_compare["Tree comparison<br/>[submission-0.cpp]"]
end

subgraph group_grids["Grid traversal"]
  node_grid_flood["Flood fill<br/>[submission-0.py]"]
  node_grid_rotting["Rotting fruit<br/>[submission-0.py]"]
end

node_user(("NeetCode user"))
node_neetcode["NeetCode.io"]
node_submission_repo["Synced repository"]

node_user -->|"connects account"| node_neetcode
node_neetcode -->|"syncs submissions"| node_submission_repo

click node_submission_repo "https://github.com/gnarendra9014-user/neetcode-submissions/tree/main/Data%20Structures%20%26%20Algorithms"
click node_array_sort "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/sort-an-array/submission-0.cpp"
click node_three_sum "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/three-integer-sum/submission-0.py"
click node_arrays_misc "https://github.com/gnarendra9014-user/neetcode-submissions/tree/main/Data%20Structures%20%26%20Algorithms"
click node_stack_baseball "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/baseball-game/submission-0.cpp"
click node_stack_parentheses "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/validate-parentheses/submission-0.cpp"
click node_stack_greater "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/next-greater-element-i/submission-0.cpp"
click node_tree_diameter "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/binary-tree-diameter/submission-0.cpp"
click node_tree_balance "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/balanced-binary-tree/submission-1.cpp"
click node_tree_level "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/level-order-traversal-of-binary-tree/submission-0.cpp"
click node_tree_invert "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/invert-a-binary-tree/submission-0.cpp"
click node_tree_compare "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/same-binary-tree/submission-0.cpp"
click node_grid_flood "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/flood-fill/submission-0.py"
click node_grid_rotting "https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/rotting-fruit/submission-0.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_array_sort,node_three_sum,node_arrays_misc,node_user toneBlue
class node_stack_baseball,node_stack_parentheses,node_stack_greater toneAmber
class node_tree_diameter,node_tree_balance,node_tree_level,node_tree_invert,node_tree_compare toneMint
class node_grid_flood,node_grid_rotting toneRose
class node_neetcode toneIndigo
class node_submission_repo toneTeal
```

## Components

### Arrays & strings

- [Array sorting](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/sort-an-array/submission-0.cpp): `Data Structures & Algorithms/sort-an-array/submission-0.cpp`
- [Three-sum](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/three-integer-sum/submission-0.py): `Data Structures & Algorithms/three-integer-sum/submission-0.py`
- [Array solutions](https://github.com/gnarendra9014-user/neetcode-submissions/tree/main/Data%20Structures%20%26%20Algorithms): `Data Structures & Algorithms`

### Stacks

- [Baseball scoring](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/baseball-game/submission-0.cpp): `Data Structures & Algorithms/baseball-game/submission-0.cpp`
- [Parentheses validation](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/validate-parentheses/submission-0.cpp): `Data Structures & Algorithms/validate-parentheses/submission-0.cpp`
- [Next greater element](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/next-greater-element-i/submission-0.cpp): `Data Structures & Algorithms/next-greater-element-i/submission-0.cpp`

### Binary trees

- [Tree diameter](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/binary-tree-diameter/submission-0.cpp): `Data Structures & Algorithms/binary-tree-diameter/submission-0.cpp`
- [Tree balance](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/balanced-binary-tree/submission-1.cpp): `Data Structures & Algorithms/balanced-binary-tree/submission-1.cpp`
- [Level traversal](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/level-order-traversal-of-binary-tree/submission-0.cpp): `Data Structures & Algorithms/level-order-traversal-of-binary-tree/submission-0.cpp`
- [Tree inversion](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/invert-a-binary-tree/submission-0.cpp): `Data Structures & Algorithms/invert-a-binary-tree/submission-0.cpp`
- [Tree comparison](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/same-binary-tree/submission-0.cpp): `Data Structures & Algorithms/same-binary-tree/submission-0.cpp`

### Grid traversal

- [Flood fill](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/flood-fill/submission-0.py): `Data Structures & Algorithms/flood-fill/submission-0.py`
- [Rotting fruit](https://github.com/gnarendra9014-user/neetcode-submissions/blob/main/Data%20Structures%20%26%20Algorithms/rotting-fruit/submission-0.py): `Data Structures & Algorithms/rotting-fruit/submission-0.py`

### Other components

- **NeetCode user**
- **NeetCode.io**
- [Synced repository](https://github.com/gnarendra9014-user/neetcode-submissions/tree/main/Data%20Structures%20%26%20Algorithms): `Data Structures & Algorithms`

## Connections

- NeetCode user → NeetCode.io: connects account
- NeetCode.io → Synced repository: syncs submissions
