# kiranraoboinapally/java-practice-problems architecture

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

- Interactive diagram: https://gitdiagram.com/kiranraoboinapally/java-practice-problems
- Repository: https://github.com/kiranraoboinapally/java-practice-problems

## Overview

##### Main Project Components
– Java Programs (the bulk of the repository)
– SQL Concepts
– Web/Frontend Examples (HTML, JavaScript)
– Additional Languages (Python, etc.)

##### Break Down the Java Programs Section
- Under the “Java Programs” block, subdivide further to represent the organization shown in the file tree and README:
– Basics: Contains fundamental programs (age.java, swapBitwise.java, etc.)
– Loops: Further subdivided into “for”, “while”, and “do-while” folders.
– Arrays: All array-related problems (such as sorting, searching, rotations).
– Strings: String manipulation problems and supporting examples.
– OOPS: All files that demonstrate Object-Oriented Programming concepts.
– Collections: Programs related to Java’s collection framework.
– Exceptions: Source files dealing with error handling.
– Leetcode: Solutions to external coding problems.
– Rough: Experimental or rough drafts of problems.
– Additionally, include a block for “SpringBoot Projects” (which itself is subdivided into firstproject, secondproject, thirdproject, one) to capture microservice-like examples using Spring Boot.

##### SQL Concepts Component
- Inside this block, note that the “ChatGPT.md” file and other SQL related documents serve as documentation and query practice material.

##### Web/Frontend and Other Language Components
- HTML & JavaScript:
– A separate block for “HTML” that shows various sample HTML files (forms, pages, style examples).
– A block (or a note within the HTML block) indicating associated CSS and “rough” examples in the HTML folder.
– Similarly, a “JavaScript” block for the files in js/ (e.g., first.html, first.js, second.js).
- Python:
– A small block labeled “Python” that includes the hello.py script.

– The “Java Programs” section is the primary learning engine.
– “SQL Concepts” and “Web/Frontend” samples serve as supporting or complementary learning material.

##### Architectural Patterns and Design Principles
- Following:
– Modular organization: the division of Java practice problems by topic (basics, loops, arrays, etc.) supports a modular design.
– For Spring Boot modules, note the typical layered architecture (src/main/java for main code, src/test/java for tests, and the use of dependency injection if applicable).
– Use grouping to represent “Experimental or Rough Work” which is kept separate.

##### Final Assembly
- Branch off into major components: Java, SQL, HTML/JS, and Python.
- Optionally, add annotations (like “SpringBoot Projects” are examples of microservices architecture) to provide context.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Repo["Repository"]:::repo
    Repo --> Java["Java Programs"]:::java
    Repo --> SQL["SQL Concepts"]:::sql
    Repo --> Web["Web/Frontend"]:::web
    Repo --> Py["Python"]:::python

    subgraph "Java Programs"
        JBasics["Java - Basics"]:::java
        subgraph "Loops"
            JFor["Java - Loops (for)"]:::java
            JWhile["Java - Loops (while)"]:::java
            JDoWhile["Java - Loops (do-while)"]:::java
        end
        JArrays["Java - Arrays"]:::java
        JStrings["Java - Strings"]:::java
        JStringsM["Java - Strings Methods"]:::java
        JOOPS["Java - OOPS"]:::java
        JCollections["Java - Collections"]:::java
        JExceptions["Java - Exceptions"]:::java
        JLeetcode["Java - Leetcode"]:::java
        JRough["Java - Rough"]:::java
        subgraph "SpringBoot Projects"
            SBFirst["FirstProject"]:::java
            SBSecond["SecondProject"]:::java
            SBThird["ThirdProject"]:::java
            SBOne["One"]:::java
        end
    end

    subgraph "Web/Frontend"
        HTML["HTML"]:::html
        JavaScript["JavaScript"]:::js
    end

    %% Click Events
    click JBasics "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/basics/"
    click JFor "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/loops/for/"
    click JWhile "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/loops/while/"
    click JDoWhile "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/loops/do-while/"
    click JArrays "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/arrays/"
    click JStrings "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/strings/"
    click JStringsM "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/strings/methods/"
    click JOOPS "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/OOPS/"
    click JCollections "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/collections/"
    click JExceptions "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/exceptions/"
    click JLeetcode "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/leetcode/"
    click JRough "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/rough/"
    click SBFirst "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/springboot/myspring/firstproject"
    click SBSecond "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/springboot/myspring/secondproject"
    click SBThird "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/springboot/myspring/thirdproject"
    click SBOne "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/java/springboot/one/"
    click SQL "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/sql/"
    click HTML "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/HTML/"
    click JavaScript "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/js/"
    click Py "https://github.com/kiranraoboinapally/java-practice-problems/tree/main/python/"

    %% Styles
    classDef java fill:#ADD8E6,stroke:#000,stroke-width:1px;
    classDef sql fill:#90EE90,stroke:#000,stroke-width:1px;
    classDef html fill:#FFA500,stroke:#000,stroke-width:1px;
    classDef js fill:#FFB347,stroke:#000,stroke-width:1px;
    classDef python fill:#FF69B4,stroke:#000,stroke-width:1px;
    classDef repo fill:#D3D3D3,stroke:#000,stroke-width:1px;
    classDef web fill:#FFDAB9,stroke:#000,stroke-width:1px;
```
