# llouis0622/algorithm_deep_dive architecture

> Architecture diagram of the GitHub repository llouis0622/algorithm_deep_dive, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/llouis0622/algorithm_deep_dive
- Repository: https://github.com/llouis0622/algorithm_deep_dive

## Overview

##### Project type and purpose
- This is not a running “service” or “application” but a curated code repository named Algorithm_Deep_Dive.
- It contains collections of algorithm problem solutions organized by platform (Baekjoon, LeetCode, Programmers) and by topic (“프로그래머가 알아야 할 알고리즘 40” book chapters).
- The goal is educational: to provide ready-made Python & SQL solutions for practice and deep study of algorithms.

##### File structure
- Top-level folders:
- Baekjoon: Python scripts sorted by difficulty (Bronze → Silver → Gold → Platinum) and sub-levels I–V.
- LeetCode: SQL scripts under Database/Easy and Database/Medium.
- Programmers: Python scripts sorted by levels (Lv.0–Lv.4), by category (SQL, basic problems, etc.).
- 프로그래머가 알아야 할 알고리즘 40: folder of book chapters, each with its own README.
- A single test.py script at root, likely for quick local runs.
- A README.md at root with the title “Algorithm Deep Dive.”

##### README
- Very brief; only states the project name.
- No further architectural or dependency information.

a. Main components:
– Repository Root
– “Baekjoon” Module
– “LeetCode” Module
– “Programmers” Module
– “AlgorithmBook” Module (프로그래머가 알아야 할 알고리즘 40)
– README & test.py as ancillary resources
b. Relationships/interactions:
– Each folder is self-contained—minimal cross-module calls.
c. Architectural patterns/design principles:
– Clear separation by platform and by educational level.
– Folder-per-module pattern: modules share the same file types (.py or .sql) but do not import each other.
d. Relevant technologies:
– Python 3 scripts (.py)
– SQL scripts (.sql)
– README (Markdown)
– No external framework or runtime aside from the language interpreters.

##### Elements
– Clear labels: “Baekjoon,” “LeetCode,” “Programmers,” “AlgorithmBook,” “test.py,” “README.md”
- (Optional) from “test.py” to each module to indicate script execution.

1. Sketch a large rectangle labeled “Algorithm_Deep_Dive Repository.”
– Baekjoon (Python solutions) – subdivided Bronze/Silver/Gold/Platinum.
– LeetCode (SQL solutions) – subdivided Easy/Medium.
– Programmers (Python solutions) – subdivided by level and category.
– AlgorithmBook – subdivided by chapter names 01장 ~ 14장.
3. “test.py” and “README.md” in the root area, outside the four containers.
- Python script folders vs. SQL script folder vs. documentation folder.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Actor
    Developer(("Developer")):::actor
    Developer -->|"clone"| Repo

    %% Repository Root
    subgraph "Algorithm_Deep_Dive Repository"
        direction TB
        Repo["Repository Root"]:::root

        %% Root resources
        Readme["README.md"]:::resource
        Test["test.py"]:::resource

        %% Modules
        subgraph "Baekjoon" 
            direction TB
            BJ["Baekjoon"]:::python
            subgraph "Bronze I–V"
                direction TB
                Bronze["Bronze I–V"]:::python
            end
            subgraph "Silver I–V"
                direction TB
                Silver["Silver I–V"]:::python
            end
            subgraph "Gold I–V"
                direction TB
                Gold["Gold I–V"]:::python
            end
            subgraph "Platinum III–V"
                direction TB
                Platinum["Platinum III–V"]:::python
            end
        end

        subgraph "LeetCode Database"
            direction TB
            LC["LeetCode Database"]:::sql
            subgraph Easy
                direction TB
                LCE["Easy SQL"]:::sql
            end
            subgraph Medium
                direction TB
                LCM["Medium SQL"]:::sql
            end
        end

        subgraph "Programmers"
            direction TB
            PR["Programmers"]:::python
            subgraph "Lv. 0"
                direction TB
                P0["Lv. 0"]:::python
            end
            subgraph "Lv. 1"
                direction TB
                P1["Lv. 1"]:::python
            end
            subgraph "Lv. 2"
                direction TB
                P2["Lv. 2"]:::python
            end
            subgraph "Lv. 3"
                direction TB
                P3["Lv. 3"]:::python
            end
            subgraph "Lv. 4"
                direction TB
                P4["Lv. 4"]:::python
            end
            subgraph "SQL Lv. 1"
                direction TB
                PS["SQL Lv. 1"]:::sql
            end
            subgraph "기초 문제"
                direction TB
                PB["Basic Problems"]:::python
            end
            subgraph "입문 문제"
                direction TB
                PI["Introductory Problems"]:::python
            end
        end

        subgraph "프로그래머가 알아야 할 알고리즘 40"
            direction TB
            AB["AlgorithmBook"]:::book
            subgraph "Chapters 01장–14장"
                direction TB
                Ch["01장–14장"]:::book
            end
        end
    end

    %% test.py execution arrows
    Test -->|"run tests"| Bronze
    Test -->|"run tests"| LCE
    Test -->|"run tests"| P0
    Test -->|"run tests"| AB

    %% Click Events
    click Repo "https://github.com/llouis0622/algorithm_deep_dive/tree/main//"
    click Readme "https://github.com/llouis0622/algorithm_deep_dive/blob/main//README.md"
    click Test "https://github.com/llouis0622/algorithm_deep_dive/blob/main//test.py"
    click BJ "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Baekjoon"
    click Bronze "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Baekjoon/Bronze"
    click Silver "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Baekjoon/Silver"
    click Gold "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Baekjoon/Gold"
    click Platinum "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Baekjoon/Platinum"
    click LC "https://github.com/llouis0622/algorithm_deep_dive/tree/main//LeetCode/Database"
    click LCE "https://github.com/llouis0622/algorithm_deep_dive/tree/main//LeetCode/Database/Easy"
    click LCM "https://github.com/llouis0622/algorithm_deep_dive/tree/main//LeetCode/Database/Medium"
    click PR "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Programmers"
    click P0 "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/Lv. 0"
    click P1 "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/Lv. 1"
    click P2 "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/Lv. 2"
    click P3 "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/Lv. 3"
    click P4 "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/Lv. 4"
    click PS "https://github.com/llouis0622/algorithm_deep_dive/blob/main//Programmers/SQL/Lv. 1"
    click PB "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Programmers/기초 문제"
    click PI "https://github.com/llouis0622/algorithm_deep_dive/tree/main//Programmers/입문 문제"
    click AB "https://github.com/llouis0622/algorithm_deep_dive/tree/main//프로그래머가 알아야 할 알고리즘 40"

    %% Styles
    classDef actor fill:#f9f,stroke:#333,stroke-width:2px;
    classDef root fill:#eef,stroke:#036,stroke-width:2px;
    classDef python fill:#cfe,stroke:#282,stroke-width:1px;
    classDef sql fill:#fcf,stroke:#828,stroke-width:1px;
    classDef book fill:#efe,stroke:#383,stroke-width:1px;
    classDef resource fill:#ffd,stroke:#aa0,stroke-width:1px;
```
