# ashwan-dath/programming_problems architecture

> Architecture diagram of the GitHub repository ashwan-dath/programming_problems, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ashwan-dath/programming_problems
- Repository: https://github.com/ashwan-dath/programming_problems

## Overview

This is a Java programming-problem collection: learners run standalone examples, provide inputs where needed, and observe printed answers or patterns. Its major branches cover operators and basic exercises, number algorithms and conversions, pattern printing, and array/search problems. There is no shared application runtime or central dispatcher; most examples are independent programs. The graph groups related exercises rather than implying they form a pipeline. Only sampled source and README relationships are connected; unsampled subsystems are represented at their documented directory paths.

Main entry points: [`ArraysPrograms/UserInput/InputUser.java`](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/UserInput/InputUser.java) (Array Input Helpers), [`ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java`](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java) (Rotated Array Search), [`ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java`](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java) (Duplicate Rotated Search), [`ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java`](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java) (2D Array Search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["Foundations"]
  node_operators["Operator Examples"]
  node_basic["Basic Exercises"]
  node_logic_reference["Logic Reference<br/>[Logics.java]"]
  node_random_questions["Random Generators"]
end

subgraph group_numbers["Number Problems"]
  node_number_exercises["Number Exercises"]
  node_prime_factors["Prime and Factors"]
  node_palindromes["Palindrome Problems"]
  node_armstrong["Armstrong Problems"]
  node_math_programs["Math Programs"]
  node_conversions["Number Conversions"]
  node_fibonacci["Fibonacci<br/>[Fibonacci.java]"]
end

subgraph group_patterns["Pattern Printing"]
  node_rectangle_patterns["Rectangle Patterns"]
  node_triangle_patterns["Triangle Patterns"]
  node_right_triangle_patterns["Right Triangle Patterns"]
  node_rhombus["Rhombus Patterns"]
end

subgraph group_arrays["Arrays and Search"]
  node_array_exercises["Array Exercises"]
  node_search_problems["Search Problems"]
  node_rotated_search["Rotated Array Search"]
  node_duplicate_rotated_search["Duplicate Rotated Search"]
  node_two_d_search["2D Array Search<br/>[FindTarget.java]"]
  node_array_input["Array Input Helpers<br/>[InputUser.java]"]
end

node_learner(("Learner"))

node_learner -->|"practices"| node_operators
node_learner -->|"practices"| node_basic
node_learner -->|"practices"| node_number_exercises
node_learner -->|"practices"| node_rectangle_patterns
node_learner -->|"practices"| node_triangle_patterns
node_learner -->|"practices"| node_right_triangle_patterns
node_learner -->|"practices"| node_rhombus
node_learner -->|"practices"| node_array_exercises
node_learner -->|"practices"| node_search_problems
node_rotated_search -->|"reads input"| node_array_input
node_duplicate_rotated_search -->|"reads input"| node_array_input
node_two_d_search -->|"reads input"| node_array_input

click node_operators "https://github.com/ashwan-dath/programming_problems/tree/main/OperatorsPrograms"
click node_basic "https://github.com/ashwan-dath/programming_problems/tree/main/BasicPrograms"
click node_logic_reference "https://github.com/ashwan-dath/programming_problems/blob/main/Logics.java"
click node_number_exercises "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms"
click node_prime_factors "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/PrimeAndFactors"
click node_palindromes "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/Palindrome"
click node_armstrong "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/Armstrong"
click node_math_programs "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/MathematicalPrograms"
click node_conversions "https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/NumberConversions"
click node_fibonacci "https://github.com/ashwan-dath/programming_problems/blob/main/NumberPrograms/NumbersProblem/Fibonacci.java"
click node_rectangle_patterns "https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/RectanglePatterns"
click node_triangle_patterns "https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/TrianglePatterns"
click node_right_triangle_patterns "https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/RightAngledTriangle"
click node_rhombus "https://github.com/ashwan-dath/programming_problems/blob/main/Patterns/RhombusPattern/RhombusPattern.java"
click node_array_exercises "https://github.com/ashwan-dath/programming_problems/tree/main/ArraysPrograms/ArraysLevel1"
click node_search_problems "https://github.com/ashwan-dath/programming_problems/tree/main/ArraysPrograms/Search"
click node_rotated_search "https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java"
click node_duplicate_rotated_search "https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java"
click node_two_d_search "https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java"
click node_array_input "https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/UserInput/InputUser.java"
click node_random_questions "https://github.com/ashwan-dath/programming_problems/tree/main/MyOwnQuestions"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_operators,node_basic,node_logic_reference,node_random_questions toneBlue
class node_number_exercises,node_prime_factors,node_palindromes,node_armstrong,node_math_programs,node_conversions,node_fibonacci toneAmber
class node_rectangle_patterns,node_triangle_patterns,node_right_triangle_patterns,node_rhombus toneMint
class node_array_exercises,node_search_problems,node_rotated_search,node_duplicate_rotated_search,node_two_d_search,node_array_input toneRose
class node_learner toneIndigo
```

## Components

### Foundations

- [Operator Examples](https://github.com/ashwan-dath/programming_problems/tree/main/OperatorsPrograms): `OperatorsPrograms`
- [Basic Exercises](https://github.com/ashwan-dath/programming_problems/tree/main/BasicPrograms): `BasicPrograms`
- [Logic Reference](https://github.com/ashwan-dath/programming_problems/blob/main/Logics.java): `Logics.java`
- [Random Generators](https://github.com/ashwan-dath/programming_problems/tree/main/MyOwnQuestions): `MyOwnQuestions`

### Number Problems

- [Number Exercises](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms): `NumberPrograms`
- [Prime and Factors](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/PrimeAndFactors): `NumberPrograms/PrimeAndFactors`
- [Palindrome Problems](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/Palindrome): `NumberPrograms/Palindrome`
- [Armstrong Problems](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/Armstrong): `NumberPrograms/Armstrong`
- [Math Programs](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/MathematicalPrograms): `NumberPrograms/MathematicalPrograms`
- [Number Conversions](https://github.com/ashwan-dath/programming_problems/tree/main/NumberPrograms/NumberConversions): `NumberPrograms/NumberConversions`
- [Fibonacci](https://github.com/ashwan-dath/programming_problems/blob/main/NumberPrograms/NumbersProblem/Fibonacci.java): `NumberPrograms/NumbersProblem/Fibonacci.java`

### Pattern Printing

- [Rectangle Patterns](https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/RectanglePatterns): `Patterns/RectanglePatterns`
- [Triangle Patterns](https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/TrianglePatterns): `Patterns/TrianglePatterns`
- [Right Triangle Patterns](https://github.com/ashwan-dath/programming_problems/tree/main/Patterns/RightAngledTriangle): `Patterns/RightAngledTriangle`
- [Rhombus Patterns](https://github.com/ashwan-dath/programming_problems/blob/main/Patterns/RhombusPattern/RhombusPattern.java): `Patterns/RhombusPattern/RhombusPattern.java`

### Arrays and Search

- [Array Exercises](https://github.com/ashwan-dath/programming_problems/tree/main/ArraysPrograms/ArraysLevel1): `ArraysPrograms/ArraysLevel1`
- [Search Problems](https://github.com/ashwan-dath/programming_problems/tree/main/ArraysPrograms/Search): `ArraysPrograms/Search`
- [Rotated Array Search](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java): `ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java`
- [Duplicate Rotated Search](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java): `ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java`
- [2D Array Search](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java): `ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java`
- [Array Input Helpers](https://github.com/ashwan-dath/programming_problems/blob/main/ArraysPrograms/UserInput/InputUser.java): `ArraysPrograms/UserInput/InputUser.java`

### Other components

- **Learner**

## Connections

- Learner → Operator Examples: practices (evidence: `README.md`)
- Learner → Basic Exercises: practices (evidence: `README.md`)
- Learner → Number Exercises: practices (evidence: `README.md`)
- Learner → Rectangle Patterns: practices (evidence: `README.md`)
- Learner → Triangle Patterns: practices (evidence: `README.md`)
- Learner → Right Triangle Patterns: practices (evidence: `README.md`)
- Learner → Rhombus Patterns: practices (evidence: `README.md`)
- Learner → Array Exercises: practices (evidence: `README.md`)
- Learner → Search Problems: practices (evidence: `README.md`)
- Rotated Array Search → Array Input Helpers: reads input (evidence: `ArraysPrograms/Search/BinarySearchProblems/RotatedSortedArraySearch.java`)
- Duplicate Rotated Search → Array Input Helpers: reads input (evidence: `ArraysPrograms/Search/BinarySearchProblems/RotatedSortedDuplicateArraySearch.java`)
- 2D Array Search → Array Input Helpers: reads input (evidence: `ArraysPrograms/TwoDArrays/BinarySearchProblems/FindTarget.java`)
