# shubham-choudhury/geeksforgeeks-problems architecture

> Architecture diagram of the GitHub repository shubham-choudhury/geeksforgeeks-problems, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shubham-choudhury/geeksforgeeks-problems
- Repository: https://github.com/shubham-choudhury/geeksforgeeks-problems

## Overview

##### High-Level Architecture Components

a. Directory Structure Layer
- Root level (/)
- Year level (2023, 2024, 2025)
- Month level (January through December)
- Problem level (Individual problem folders)
- Solution level (Implementation files)

b. Solution Implementation Layer
- Python solutions (.py files)
- C++ solutions (.cpp files)
- C solutions (.c files) [rare occurrences]

**[Root Directory]**

- [Year Container]

- [Month Container]

- [Problem Container]

- [Solution Files]
- Python Implementation
- C++ Implementation

- [Problem Metadata]

- [Monthly README]

- [Year Summary]

- [Project README]

##### Component Details

For each problem container, include:
- Problem name
- Available implementations
- Related problem references
- Difficulty level (if applicable)

##### Metadata Layer

- File naming conventions
- Directory structure rules
- Implementation requirements
- Documentation standards

##### Creating separate views for
- Overall project structure
- Monthly organization
- Problem-solution relationship
- Implementation patterns

This design will effectively communicate the project's organization while maintaining clarity and usability for other developers.

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph Legend
        direction TB
        L1[Directory]:::directory
        L2[Python File]:::python
        L3[C++ File]:::cpp
        L4[Documentation]:::docs
        L5[Metadata]:::meta
    end

    Root["Root Directory"]:::directory
    ProjectReadme["Project README"]:::docs
    
    subgraph YearContainer["Year Structure"]
        direction TB
        Y2023["2023"]:::directory
        Y2024["2024"]:::directory
        Y2025["2025"]:::directory
    end

    subgraph MonthContainer["Monthly Structure"]
        direction TB
        M01["January"]:::directory
        M02["February"]:::directory
        MonthReadme["Monthly README"]:::docs
    end

    subgraph ProblemContainer["Problem Structure"]
        direction TB
        Problem["Problem Directory"]:::directory
        PythonSol["main.py"]:::python
        CppSol["main.cpp"]:::cpp
        ProbMeta["Problem Metadata"]:::meta
    end

    Root --> ProjectReadme
    Root --> YearContainer
    Y2024 --> MonthContainer
    M01 --> ProblemContainer
    Problem --> PythonSol
    Problem --> CppSol
    Problem --> ProbMeta
    M01 --> MonthReadme

    %% Click events for navigation
    click Root "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//"
    click Y2023 "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2023"
    click Y2024 "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2024"
    click Y2025 "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2025"
    click M01 "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2024/01 January"
    click M02 "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2024/02 February"
    click PythonSol "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/blob/main//2024/01 January/[Problem Name]/main.py"
    click CppSol "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/blob/main//2024/01 January/[Problem Name]/main.cpp"
    click MonthReadme "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/blob/main//2024/01 January/README.md"
    click ProjectReadme "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/blob/main//README.md"
    click ProbMeta "https://github.com/Shubham-Choudhury/GeeksforGeeks-Problems/tree/main//2024/01 January/[Problem Name]"

    classDef directory fill:#5d9eff,stroke:#333,stroke-width:2px
    classDef python fill:#4CAF50,stroke:#333,stroke-width:2px
    classDef cpp fill:#FF9800,stroke:#333,stroke-width:2px
    classDef docs fill:#9E9E9E,stroke:#333,stroke-width:2px
    classDef meta fill:#FFEB3B,stroke:#333,stroke-width:2px
```
