# tirupathic/leetcode architecture

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

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

## Overview

This repository is a multi-language collection of coding-interview solutions, not an application with a shared runtime. The documented workflow is to browse problems by category and pattern, then open a solution in Python, Java, C++, or JavaScript. Its major capabilities span array/string techniques, matrix and search problems, graph and grid traversal, linked lists and trees, and dynamic programming. The graph groups representative solutions by domain; the README documents the broader catalog. No shared execution or cross-solution calls are evidenced.

Main entry points: [`0049-group-anagrams/0049-group-anagrams.py`](https://github.com/tirupathic/leetcode/blob/main/0049-group-anagrams/0049-group-anagrams.py) (Hashing patterns), [`0015-3sum/0015-3sum.java`](https://github.com/tirupathic/leetcode/blob/main/0015-3sum/0015-3sum.java) (Two pointers), [`0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.py`](https://github.com/tirupathic/leetcode/blob/main/0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.py) (Sliding window), [`0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.py`](https://github.com/tirupathic/leetcode/blob/main/0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.py) (Binary search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_arrays["Arrays and strings"]
  node_hashing["Hashing patterns"]
  node_pointers["Two pointers<br/>[0015-3sum.java]"]
  node_windows["Sliding window"]
end

subgraph group_search["Search and matrices"]
  node_binarysearch["Binary search"]
  node_matrix["Matrix search"]
end

subgraph group_graphs["Graphs and grids"]
  node_graphtraversal["Graph traversal"]
  node_trie["Trie search"]
end

subgraph group_structures["Lists and trees"]
  node_linkedlists["Linked lists"]
  node_trees["Tree algorithms"]
end

subgraph group_dp["Dynamic programming"]
  node_dynamic["Dynamic programming"]
end

node_reader(("Problem seeker"))

node_reader -->|"opens solution"| node_hashing
node_reader -->|"opens solution"| node_pointers
node_reader -->|"opens solution"| node_windows
node_reader -->|"opens solution"| node_binarysearch
node_reader -->|"opens solution"| node_matrix
node_reader -->|"opens solution"| node_graphtraversal
node_reader -->|"opens solution"| node_trie
node_reader -->|"opens solution"| node_linkedlists
node_reader -->|"opens solution"| node_trees
node_reader -->|"opens solution"| node_dynamic

click node_hashing "https://github.com/tirupathic/leetcode/blob/main/0049-group-anagrams/0049-group-anagrams.py"
click node_pointers "https://github.com/tirupathic/leetcode/blob/main/0015-3sum/0015-3sum.java"
click node_windows "https://github.com/tirupathic/leetcode/blob/main/0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.py"
click node_binarysearch "https://github.com/tirupathic/leetcode/blob/main/0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.py"
click node_matrix "https://github.com/tirupathic/leetcode/blob/main/0079-word-search/0079-word-search.py"
click node_graphtraversal "https://github.com/tirupathic/leetcode/blob/main/0133-clone-graph/0133-clone-graph.py"
click node_trie "https://github.com/tirupathic/leetcode/blob/main/0212-word-search-ii/0212-word-search-ii.py"
click node_linkedlists "https://github.com/tirupathic/leetcode/blob/main/0206-reverse-linked-list/0206-reverse-linked-list.py"
click node_trees "https://github.com/tirupathic/leetcode/blob/main/0098-validate-binary-search-tree/0098-validate-binary-search-tree.py"
click node_dynamic "https://github.com/tirupathic/leetcode/blob/main/0213-house-robber-ii/0213-house-robber-ii.java"

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_hashing,node_pointers,node_windows toneBlue
class node_binarysearch,node_matrix toneAmber
class node_graphtraversal,node_trie toneMint
class node_linkedlists,node_trees toneRose
class node_dynamic,node_reader toneIndigo
```

## Components

### Arrays and strings

- [Hashing patterns](https://github.com/tirupathic/leetcode/blob/main/0049-group-anagrams/0049-group-anagrams.py): `0049-group-anagrams/0049-group-anagrams.py`
- [Two pointers](https://github.com/tirupathic/leetcode/blob/main/0015-3sum/0015-3sum.java): `0015-3sum/0015-3sum.java`
- [Sliding window](https://github.com/tirupathic/leetcode/blob/main/0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.py): `0643-maximum-average-subarray-i/0643-maximum-average-subarray-i.py`

### Search and matrices

- [Binary search](https://github.com/tirupathic/leetcode/blob/main/0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.py): `0033-search-in-rotated-sorted-array/0033-search-in-rotated-sorted-array.py`
- [Matrix search](https://github.com/tirupathic/leetcode/blob/main/0079-word-search/0079-word-search.py): `0079-word-search/0079-word-search.py`

### Graphs and grids

- [Graph traversal](https://github.com/tirupathic/leetcode/blob/main/0133-clone-graph/0133-clone-graph.py): `0133-clone-graph/0133-clone-graph.py`
- [Trie search](https://github.com/tirupathic/leetcode/blob/main/0212-word-search-ii/0212-word-search-ii.py): `0212-word-search-ii/0212-word-search-ii.py`

### Lists and trees

- [Linked lists](https://github.com/tirupathic/leetcode/blob/main/0206-reverse-linked-list/0206-reverse-linked-list.py): `0206-reverse-linked-list/0206-reverse-linked-list.py`
- [Tree algorithms](https://github.com/tirupathic/leetcode/blob/main/0098-validate-binary-search-tree/0098-validate-binary-search-tree.py): `0098-validate-binary-search-tree/0098-validate-binary-search-tree.py`

### Dynamic programming

- [Dynamic programming](https://github.com/tirupathic/leetcode/blob/main/0213-house-robber-ii/0213-house-robber-ii.java): `0213-house-robber-ii/0213-house-robber-ii.java`

### Other components

- **Problem seeker**

## Connections

- Problem seeker → Hashing patterns: opens solution (evidence: `README.md`)
- Problem seeker → Two pointers: opens solution (evidence: `README.md`)
- Problem seeker → Sliding window: opens solution (evidence: `README.md`)
- Problem seeker → Binary search: opens solution (evidence: `README.md`)
- Problem seeker → Matrix search: opens solution (evidence: `README.md`)
- Problem seeker → Graph traversal: opens solution (evidence: `README.md`)
- Problem seeker → Trie search: opens solution (evidence: `README.md`)
- Problem seeker → Linked lists: opens solution (evidence: `README.md`)
- Problem seeker → Tree algorithms: opens solution (evidence: `README.md`)
- Problem seeker → Dynamic programming: opens solution (evidence: `README.md`)
