# ramkrishnatrey/leet-code architecture

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

- Interactive diagram: https://gitdiagram.com/ramkrishnatrey/leet-code
- Repository: https://github.com/ramkrishnatrey/leet-code

## Overview

This repository is a small collection of independent C solutions to linked-list and array problems. Each source file implements a callable algorithm that accepts problem inputs and returns a result; no shared runtime, application entry point, or relationships between solutions are shown. The graph therefore lists the four implementations without inventing callers or data-flow links.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_two_sum["Two Sum<br/>[0001-two-sum.c]"]
node_add_numbers["Add Numbers"]
node_detect_cycle["Detect Cycle"]
node_middle_node["Find Middle"]

click node_two_sum "https://github.com/ramkrishnatrey/leet-code/blob/main/0001-two-sum/0001-two-sum.c"
click node_add_numbers "https://github.com/ramkrishnatrey/leet-code/blob/main/0002-add-two-numbers/0002-add-two-numbers.c"
click node_detect_cycle "https://github.com/ramkrishnatrey/leet-code/blob/main/0141-linked-list-cycle/0141-linked-list-cycle.c"
click node_middle_node "https://github.com/ramkrishnatrey/leet-code/blob/main/0876-middle-of-the-linked-list/0876-middle-of-the-linked-list.c"

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_detect_cycle,node_middle_node toneTeal
```

## Components

### Other components

- [Two Sum](https://github.com/ramkrishnatrey/leet-code/blob/main/0001-two-sum/0001-two-sum.c): `0001-two-sum/0001-two-sum.c`
- [Add Numbers](https://github.com/ramkrishnatrey/leet-code/blob/main/0002-add-two-numbers/0002-add-two-numbers.c): `0002-add-two-numbers/0002-add-two-numbers.c`
- [Detect Cycle](https://github.com/ramkrishnatrey/leet-code/blob/main/0141-linked-list-cycle/0141-linked-list-cycle.c): `0141-linked-list-cycle/0141-linked-list-cycle.c`
- [Find Middle](https://github.com/ramkrishnatrey/leet-code/blob/main/0876-middle-of-the-linked-list/0876-middle-of-the-linked-list.c): `0876-middle-of-the-linked-list/0876-middle-of-the-linked-list.c`
