# vrinda0211/leetcode architecture

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

- Interactive diagram: https://gitdiagram.com/vrinda0211/leetcode
- Repository: https://github.com/vrinda0211/leetcode

## Overview

This repository is a small collection of independent C++ LeetCode solutions, not a single application. A LeetCode caller supplies each solution’s problem input and receives its result; there is no shared runtime or cross-solution pipeline. The graph reflects the four solution files shown in the tree and sampled source.

Main entry points: [`1-two-sum/two-sum.cpp`](https://github.com/vrinda0211/leetcode/blob/main/1-two-sum/two-sum.cpp) (Two Sum), [`2-add-two-numbers/add-two-numbers.cpp`](https://github.com/vrinda0211/leetcode/blob/main/2-add-two-numbers/add-two-numbers.cpp) (Add Two Numbers), [`3567-convert-date-to-binary/convert-date-to-binary.cpp`](https://github.com/vrinda0211/leetcode/blob/main/3567-convert-date-to-binary/convert-date-to-binary.cpp) (Date to Binary), [`4039-compute-decimal-representation/compute-decimal-representation.cpp`](https://github.com/vrinda0211/leetcode/blob/main/4039-compute-decimal-representation/compute-decimal-representation.cpp) (Decimal Representation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_solutions["Problem solutions"]
  node_two_sum["Two Sum<br/>[two-sum.cpp]"]
  node_add_numbers["Add Two Numbers"]
  node_date_binary["Date to Binary"]
  node_decimal_representation["Decimal Representation"]
end

node_caller(("LeetCode caller"))

node_caller -->|"supplies input"| node_two_sum
node_two_sum -->|"returns indices"| node_caller
node_caller -->|"supplies lists"| node_add_numbers
node_add_numbers -->|"returns sum list"| node_caller
node_caller -->|"supplies date"| node_date_binary
node_date_binary -->|"returns binary date"| node_caller
node_caller -->|"supplies integer"| node_decimal_representation
node_decimal_representation -->|"returns components"| node_caller

click node_two_sum "https://github.com/vrinda0211/leetcode/blob/main/1-two-sum/two-sum.cpp"
click node_add_numbers "https://github.com/vrinda0211/leetcode/blob/main/2-add-two-numbers/add-two-numbers.cpp"
click node_date_binary "https://github.com/vrinda0211/leetcode/blob/main/3567-convert-date-to-binary/convert-date-to-binary.cpp"
click node_decimal_representation "https://github.com/vrinda0211/leetcode/blob/main/4039-compute-decimal-representation/compute-decimal-representation.cpp"

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_two_sum,node_add_numbers,node_date_binary,node_decimal_representation toneBlue
class node_caller toneIndigo
```

## Components

### Problem solutions

- [Two Sum](https://github.com/vrinda0211/leetcode/blob/main/1-two-sum/two-sum.cpp): `1-two-sum/two-sum.cpp`
- [Add Two Numbers](https://github.com/vrinda0211/leetcode/blob/main/2-add-two-numbers/add-two-numbers.cpp): `2-add-two-numbers/add-two-numbers.cpp`
- [Date to Binary](https://github.com/vrinda0211/leetcode/blob/main/3567-convert-date-to-binary/convert-date-to-binary.cpp): `3567-convert-date-to-binary/convert-date-to-binary.cpp`
- [Decimal Representation](https://github.com/vrinda0211/leetcode/blob/main/4039-compute-decimal-representation/compute-decimal-representation.cpp): `4039-compute-decimal-representation/compute-decimal-representation.cpp`

### Other components

- **LeetCode caller**

## Connections

- LeetCode caller → Two Sum: supplies input
- Two Sum → LeetCode caller: returns indices
- LeetCode caller → Add Two Numbers: supplies lists
- Add Two Numbers → LeetCode caller: returns sum list
- LeetCode caller → Date to Binary: supplies date
- Date to Binary → LeetCode caller: returns binary date
- LeetCode caller → Decimal Representation: supplies integer
- Decimal Representation → LeetCode caller: returns components
