# bhuvisj/zerotohero-mission-sde architecture

> Architecture diagram of the GitHub repository bhuvisj/zerotohero-mission-sde, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-07-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bhuvisj/zerotohero-mission-sde
- Repository: https://github.com/bhuvisj/zerotohero-mission-sde

## Overview

##### Project type and purpose
- This repo (“ZeroToHero-Mission-SDE”) is not a full-stack product but a collection of standalone Java programs solving algorithmic problems.
- It serves as practice code for recursion exercises (12 variants) and a standalone Tic Tac Toe game implementation.

##### File structure
- Top-level:
- README.md
- Recursion/ (contains RC1_… through RC12_*.java)
- Tic Tac Toe/ (contains TicTacToe.java)
- No build scripts (Maven/Gradle), no shared libraries, no external service configuration.
- Each `.java` file likely contains its own `main()` and runs independently.

##### README for additional insights
- The README simply names the project; there is no architecture or dependency section.

##### Main components and their relationships
a. Components:
- Recursion Module
– RC1_BasicProblems.java
– RC2_BasicProblemsII.java
– …
– RC12_NQueens.java
- Tic Tac Toe Module
– TicTacToe.java
- Java Runtime (JDK) – execution environment dependency
b. Relationships & interactions:
- No cross-calls between Recursion classes or with TicTacToe.
- Each module is invoked separately by a developer (or test harness).
- All modules depend on standard Java SE libraries.
c. Architectural patterns/principles:
- Modular separation by problem domain.
- Single-responsibility: each class solves one algorithmic problem or runs a game.
d. Key technologies:
- Java SE (no external frameworks).
- Directory grouping as de facto “packages” (though lacking `package` declarations).

## Diagram (Mermaid)

```mermaid
graph TB
    classDef moduleA fill:#f9f,stroke:#333,stroke-width:2px
    classDef moduleB fill:#9ff,stroke:#333,stroke-width:2px
    classDef runtime fill:#ff9,stroke:#333,stroke-width:2px
    classDef actor fill:#fff,stroke:#000,stroke-width:2px
    classDef rec fill:#fdd
    classDef game fill:#dfd

    Developer((Developer)):::actor

    subgraph "ZeroToHero-Mission-SDE Repo"
        subgraph RM["Recursion Module"]
            RC1["RC1_BasicProblems.java"]:::rec
            RC2["RC2_BasicProblemsII.java"]:::rec
            RC3["RC3_Subsequences.java"]:::rec
            RC4["RC4_PrintAllSS_SumEqualsK.java"]:::rec
            RC5["RC5_CombinationSum.java"]:::rec
            RC6["RC6_CombinationSumII.java"]:::rec
            RC7["RC7_Combinations.java"]:::rec
            RC8["RC8_SubsetSumI.java"]:::rec
            RC9["RC9_SubsetSumII.java"]:::rec
            RC10["RC10_Subsets.java"]:::rec
            RC11["RC11_Permutations.java"]:::rec
            RC12["RC12_NQueens.java"]:::rec
        end
        subgraph TM["Tic Tac Toe Module"]
            TT["TicTacToe.java"]:::game
        end
    end

    JDK[[Java SE Runtime]]:::runtime

    Developer -->|"invokes main()"| RM
    Developer -->|"invokes main()"| TM
    RM -->|"compiles/runs on"| JDK
    TM -->|"compiles/runs on"| JDK

    click RC1 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC1_BasicProblems.java"
    click RC2 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC2_BasicProblemsII.java"
    click RC3 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC3_Subsequences.java"
    click RC4 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC4_PrintAllSS_SumEqualsK.java"
    click RC5 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC5_CombinationSum.java"
    click RC6 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC6_CombinationSumII.java"
    click RC7 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC7_Combinations.java"
    click RC8 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC8_SubsetSumI.java"
    click RC9 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC9_SubsetSumII.java"
    click RC10 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC10_Subsets.java"
    click RC11 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC11_Permutations.java"
    click RC12 "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Recursion/RC12_NQueens.java"
    click TT "https://github.com/bhuvisj/zerotohero-mission-sde/blob/main/Tic Tac Toe/TicTacToe.java"
```
