# dharmikgohil/googlefoobar-coding-challange architecture

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

- Interactive diagram: https://gitdiagram.com/dharmikgohil/googlefoobar-coding-challange
- Repository: https://github.com/dharmikgohil/googlefoobar-coding-challange

## Overview

##### Main Components Structure

a) Challenge Levels (Core Structure)
- Level 1 (Basic)
- Level 2 (Intermediate)
- Level 3 (Advanced)
- Level 4 (Expert)
- Level 5 (Master)
- Extra Problems

b) Solution Components
- Problem Statements (.md files)
- Solutions (Python/Java implementations)
- Utility Components (Message Decryption)

##### Component Relationships

**[Challenge Level] → [Problem Statement] → [Solution Implementation]**
- ↓
- [Test Cases/Verification]

##### Special Features

- Message Decryption System
- Input: Encrypted Message
- Process: Base64 Decoding + XOR Operation
- Output: Decrypted Message

##### Implementation Details Layer

Language-specific implementations:
- Python Solutions (Primary)
- Java Solutions (Alternative)

- Challenge Flow     |

- Problem Structure    |

- Solution Components   |

- Utility Tools          |

##### Additional Elements

Include:
- Problem complexity indicators
- Links between related components

##### Hierarchy
- Clear progression from Level 1 to Level 5
- Increasing complexity
- Related problems within levels

##### Problem-Solution Mapping
- Problem statement to its solution
- Language implementations
- Test case relationships

##### Utility Integration
- How the message decryption component fits
- Where and how it's used

##### Documentation Links
- Connections to README
- Links to problem statements
- Reference external resources

Remember to maintain a balance between showing the overall structure and including enough detail to understand the implementation approach for each challenge level.

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Levels
        L1[Level 1 - Basic]:::level
        L2[Level 2 - Intermediate]:::level
        L3[Level 3 - Advanced]:::level
        L4[Level 4 - Expert]:::level
        L5[Level 5 - Master]:::level
        EX[Extra Problems]:::level
    end

    subgraph Level1Content
        L1PS["The cake is not a lie!"]:::problem
        L1SOL["Java Solution"]:::solution
    end

    subgraph Level2Content
        L2P1["Power Hungry"]:::problem
        L2S1["Python Solution 1"]:::solution
        L2P2["Ion flux relabeling"]:::problem
        L2S2["Python Solution 2"]:::solution
    end

    subgraph Level3Content
        L3P1["Bomb Baby"]:::problem
        L3S1["Python Solution 1"]:::solution
        L3P2["Prepare Bunnies' Escape"]:::problem
        L3S2["Python Solution 2"]:::solution
        L3P3["Free the Bunny Workers"]:::problem
        L3S3["Python Solution 3"]:::solution
    end

    subgraph Level4Content
        L4PS["Don't Get Volunteered!"]:::problem
        L4SOL["Python Solution"]:::solution
    end

    subgraph Level5Content
        L5PS["Disorderly Escape"]:::problem
        L5SOL["Python Solution"]:::solution
    end

    subgraph ExtraContent
        EXPS["Expanding Nebula"]:::problem
        EXSOL["Python Solution"]:::solution
    end

    subgraph Utilities
        DEC["Message Decryption"]:::utility
        DOC["Documentation"]:::doc
    end

    %% Relationships
    L1 --> L1PS --> L1SOL
    L2 --> L2P1 --> L2S1
    L2 --> L2P2 --> L2S2
    L3 --> L3P1 --> L3S1
    L3 --> L3P2 --> L3S2
    L3 --> L3P3 --> L3S3
    L4 --> L4PS --> L4SOL
    L5 --> L5PS --> L5SOL
    EX --> EXPS --> EXSOL

    %% Click events
    click L1 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Level 1"
    click L2 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Level 2"
    click L3 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Level 3"
    click L4 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Level 4"
    click L5 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Level 5"
    click EX "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/tree/main/Extra Problem"
    click L1PS "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 1/The cake is not a lie!.md"
    click L1SOL "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 1/solution.java"
    click L2P1 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 2/First Problem/Power Hungry.md"
    click L2S1 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 2/First Problem/solution.py"
    click L2P2 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 2/Second Problem/Ion flux relabeling.md"
    click L2S2 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 2/Second Problem/solution.py"
    click L3P1 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/First Problem/Bomb_Baby.md"
    click L3S1 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/First Problem/solution.py"
    click L3P2 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/Second Problem/Prepare the Bunnies' Escape.md"
    click L3S2 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/Second Problem/solution.py"
    click L3P3 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/Third Problem/Free the Bunny Workers.md"
    click L3S3 "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 3/Third Problem/solution.py"
    click L4PS "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 4/Don't Get Volunteered!.md"
    click L4SOL "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 4/solution.py"
    click L5PS "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 5/Disorderly Escape.md"
    click L5SOL "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Level 5/solution.py"
    click EXPS "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Extra Problem/Expanding-nebula.md"
    click EXSOL "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Extra Problem/solution.py"
    click DEC "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/Foobar-Message-Decryption/decryption.py"
    click DOC "https://github.com/DharmikGohil/GoogleFoobar-Coding-Challange/blob/main/README.md"

    %% Styles
    classDef level fill:#2374ab,stroke:#000,stroke-width:2px,color:#fff
    classDef problem fill:#48a9a6,stroke:#000,stroke-width:1px
    classDef solution fill:#e4572e,stroke:#000,stroke-width:1px
    classDef utility fill:#8b1e3f,stroke:#000,stroke-width:1px,color:#fff
    classDef doc fill:#17bebb,stroke:#000,stroke-width:1px
```
