# azl397985856/leetcode architecture

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

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

## Overview

This repository is a LeetCode study and reference collection, not a runtime application. A learner can study a problem solution, consult algorithm and data-structure topic notes, and participate in daily or 91-day practice; selected articles and Anki cards support review. The README also documents difficulty-based collections and visual study assets. Connections below reflect README-described uses and relationships; individual unsampled content files are represented by their existing directories.

Main entry points: [`daily`](https://github.com/azl397985856/leetcode/tree/master/daily) (Daily Questions), [`problems`](https://github.com/azl397985856/leetcode/tree/master/problems) (Problem Guides), [`collections`](https://github.com/azl397985856/leetcode/tree/master/collections) (Difficulty Lists), [`selected`](https://github.com/azl397985856/leetcode/tree/master/selected) (Selected Articles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_solutions["Problem Solutions"]
  node_problem_guides["Problem Guides"]
  node_difficulty_lists["Difficulty Lists"]
  node_selected_articles["Selected Articles"]
end

subgraph group_learning["Algorithm Learning"]
  node_topic_notes["Topic Notes"]
  node_visual_assets["Visual Aids"]
end

subgraph group_practice["Practice Programs"]
  node_daily_questions["Daily Questions"]
  node_daily_answers["Daily Answers"]
  node_study_91["91-Day Course"]
end

subgraph group_review["Study Aids"]
  node_anki_cards["Anki Cards<br/>[leetcode.apkg]"]
  node_review_assets["Review Assets"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_problem_guides
node_learner -->|"browses"| node_difficulty_lists
node_learner -->|"learns from"| node_topic_notes
node_learner -->|"practices with"| node_daily_questions
node_learner -->|"follows"| node_study_91
node_learner -->|"reviews"| node_selected_articles
node_daily_questions -->|"records answers"| node_daily_answers
node_daily_questions -.->|"may be added to"| node_problem_guides
node_learner -->|"reviews with"| node_anki_cards
node_learner -->|"studies with"| node_visual_assets
node_learner -->|"uses"| node_review_assets

click node_problem_guides "https://github.com/azl397985856/leetcode/tree/master/problems"
click node_difficulty_lists "https://github.com/azl397985856/leetcode/tree/master/collections"
click node_selected_articles "https://github.com/azl397985856/leetcode/tree/master/selected"
click node_topic_notes "https://github.com/azl397985856/leetcode/tree/master/thinkings"
click node_visual_assets "https://github.com/azl397985856/leetcode/tree/master/assets/drawio"
click node_daily_questions "https://github.com/azl397985856/leetcode/tree/master/daily"
click node_daily_answers "https://github.com/azl397985856/leetcode/tree/master/daily/answers"
click node_study_91 "https://github.com/azl397985856/leetcode/tree/master/91"
click node_anki_cards "https://github.com/azl397985856/leetcode/blob/master/assets/anki/leetcode.apkg"
click node_review_assets "https://github.com/azl397985856/leetcode/tree/master/assets"

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_problem_guides,node_difficulty_lists,node_selected_articles toneBlue
class node_topic_notes,node_visual_assets toneAmber
class node_daily_questions,node_daily_answers,node_study_91 toneMint
class node_anki_cards,node_review_assets toneRose
class node_learner toneIndigo
```

## Components

### Problem Solutions

- [Problem Guides](https://github.com/azl397985856/leetcode/tree/master/problems): `problems`
- [Difficulty Lists](https://github.com/azl397985856/leetcode/tree/master/collections): `collections`
- [Selected Articles](https://github.com/azl397985856/leetcode/tree/master/selected): `selected`

### Algorithm Learning

- [Topic Notes](https://github.com/azl397985856/leetcode/tree/master/thinkings): `thinkings`
- [Visual Aids](https://github.com/azl397985856/leetcode/tree/master/assets/drawio): `assets/drawio`

### Practice Programs

- [Daily Questions](https://github.com/azl397985856/leetcode/tree/master/daily): `daily`
- [Daily Answers](https://github.com/azl397985856/leetcode/tree/master/daily/answers): `daily/answers`
- [91-Day Course](https://github.com/azl397985856/leetcode/tree/master/91): `91`

### Study Aids

- [Anki Cards](https://github.com/azl397985856/leetcode/blob/master/assets/anki/leetcode.apkg): `assets/anki/leetcode.apkg`
- [Review Assets](https://github.com/azl397985856/leetcode/tree/master/assets): `assets`

### Other components

- **Learner**

## Connections

- Learner → Problem Guides: studies (evidence: `README.md`)
- Learner → Difficulty Lists: browses (evidence: `README.md`)
- Learner → Topic Notes: learns from (evidence: `README.md`)
- Learner → Daily Questions: practices with (evidence: `README.md`)
- Learner → 91-Day Course: follows (evidence: `README.md`)
- Learner → Selected Articles: reviews (evidence: `README.md`)
- Daily Questions → Daily Answers: records answers (evidence: `README.md`)
- Daily Questions → Problem Guides: may be added to (evidence: `README.md`)
- Learner → Anki Cards: reviews with (evidence: `README.md`)
- Learner → Visual Aids: studies with (evidence: `README.md`)
- Learner → Review Assets: uses (evidence: `README.md`)
