# surya-tn99/my-placement-training architecture

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

- Interactive diagram: https://gitdiagram.com/surya-tn99/my-placement-training
- Repository: https://github.com/surya-tn99/my-placement-training

## Overview

This repository is a collection of standalone Java learning examples and practice problems, not a unified application. Its principal workflows are individual console exercises: read or initialize input, perform an object-oriented, validation, or algorithm task, and print a result. The graph groups examples by topic; it does not imply a shared runtime or a common user journey. Relationships are shown only where the excerpts demonstrate calls or inheritance; the word-search helper’s recursion is internal to its implementation.

Main entry points: [`practice_problem/_13_Aug_26/BankWithdrawal.java`](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java) (Withdrawal account), [`practice_problem/_13_Aug_26/StudentMarkChecking.java`](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java) (Mark validator), [`OverLoading.java`](https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java) (Bank account), [`practice_problem/_10_Aug_26/StudentResultManagement.java`](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_10_Aug_26/StudentResultManagement.java) (Student results)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_oop["Object-oriented examples"]
  node_encapsulation["Employee abstraction<br/>[Encapsulation.java]"]
  node_overloading["Bank account overloads<br/>[OverLoading.java]"]
  node_bankaccount["Bank account<br/>[OverLoading.java]"]
  node_savings["Savings account<br/>[OverLoading.java]"]
  node_current["Current account<br/>[OverLoading.java]"]
end

subgraph group_students["Student exercises"]
  node_studentresults["Student results"]
  node_student["Student record"]
end

subgraph group_exceptions["Exception exercises"]
  node_bankwithdrawal["Withdrawal demo"]
  node_withdrawalaccount["Withdrawal account"]
  node_balanceexception["Balance exception"]
  node_markchecking["Mark checking"]
  node_markvalidator["Mark validator"]
  node_markexceptions["Mark exceptions"]
  node_exceptionstub["Empty exception example"]
end

subgraph group_algorithms["Algorithm exercises"]
  node_bubblesort["Bubble sort<br/>[BubbleSort.java]"]
  node_maxproduct["Max product subarray"]
  node_wordsearch["Word search"]
end

node_savings -->|"extends"| node_bankaccount
node_current -->|"extends"| node_bankaccount
node_studentresults -->|"creates and displays"| node_student
node_bankwithdrawal -->|"creates and withdraws"| node_withdrawalaccount
node_withdrawalaccount -->|"throws"| node_balanceexception
node_markchecking -->|"creates and validates"| node_markvalidator
node_markvalidator -->|"throws"| node_markexceptions

click node_encapsulation "https://github.com/surya-tn99/my-placement-training/blob/master/Encapsulation.java"
click node_overloading "https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java"
click node_bankaccount "https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java"
click node_savings "https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java"
click node_current "https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java"
click node_studentresults "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_10_Aug_26/StudentResultManagement.java"
click node_student "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_10_Aug_26/StudentResultManagement.java"
click node_bankwithdrawal "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java"
click node_withdrawalaccount "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java"
click node_balanceexception "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java"
click node_markchecking "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java"
click node_markvalidator "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java"
click node_markexceptions "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java"
click node_exceptionstub "https://github.com/surya-tn99/my-placement-training/blob/master/ExceptionHandling.java"
click node_bubblesort "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BubbleSort.java"
click node_maxproduct "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/LC_152_MAX_PROD_SUBARRAY.java"
click node_wordsearch "https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/LC_79_WORD_SEARCH.java"

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_encapsulation,node_overloading,node_bankaccount,node_savings,node_current toneBlue
class node_studentresults,node_student toneAmber
class node_bankwithdrawal,node_withdrawalaccount,node_balanceexception,node_markchecking,node_markvalidator,node_markexceptions,node_exceptionstub toneMint
class node_bubblesort,node_maxproduct,node_wordsearch toneRose
```

## Components

### Object-oriented examples

- [Employee abstraction](https://github.com/surya-tn99/my-placement-training/blob/master/Encapsulation.java): `Encapsulation.java`
- [Bank account overloads](https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java): `OverLoading.java`
- [Bank account](https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java): `OverLoading.java`
- [Savings account](https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java): `OverLoading.java`
- [Current account](https://github.com/surya-tn99/my-placement-training/blob/master/OverLoading.java): `OverLoading.java`

### Student exercises

- [Student results](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_10_Aug_26/StudentResultManagement.java): `practice_problem/_10_Aug_26/StudentResultManagement.java`
- [Student record](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_10_Aug_26/StudentResultManagement.java): `practice_problem/_10_Aug_26/StudentResultManagement.java`

### Exception exercises

- [Withdrawal demo](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java): `practice_problem/_13_Aug_26/BankWithdrawal.java`
- [Withdrawal account](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java): `practice_problem/_13_Aug_26/BankWithdrawal.java`
- [Balance exception](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BankWithdrawal.java): `practice_problem/_13_Aug_26/BankWithdrawal.java`
- [Mark checking](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java): `practice_problem/_13_Aug_26/StudentMarkChecking.java`
- [Mark validator](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java): `practice_problem/_13_Aug_26/StudentMarkChecking.java`
- [Mark exceptions](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/StudentMarkChecking.java): `practice_problem/_13_Aug_26/StudentMarkChecking.java`
- [Empty exception example](https://github.com/surya-tn99/my-placement-training/blob/master/ExceptionHandling.java): `ExceptionHandling.java`

### Algorithm exercises

- [Bubble sort](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/BubbleSort.java): `practice_problem/_13_Aug_26/BubbleSort.java`
- [Max product subarray](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/LC_152_MAX_PROD_SUBARRAY.java): `practice_problem/_13_Aug_26/LC_152_MAX_PROD_SUBARRAY.java`
- [Word search](https://github.com/surya-tn99/my-placement-training/blob/master/practice_problem/_13_Aug_26/LC_79_WORD_SEARCH.java): `practice_problem/_13_Aug_26/LC_79_WORD_SEARCH.java`

## Connections

- Savings account → Bank account: extends (evidence: `OverLoading.java`)
- Current account → Bank account: extends (evidence: `OverLoading.java`)
- Student results → Student record: creates and displays (evidence: `practice_problem/_10_Aug_26/StudentResultManagement.java`)
- Withdrawal demo → Withdrawal account: creates and withdraws (evidence: `practice_problem/_13_Aug_26/BankWithdrawal.java`)
- Withdrawal account → Balance exception: throws (evidence: `practice_problem/_13_Aug_26/BankWithdrawal.java`)
- Mark checking → Mark validator: creates and validates (evidence: `practice_problem/_13_Aug_26/StudentMarkChecking.java`)
- Mark validator → Mark exceptions: throws (evidence: `practice_problem/_13_Aug_26/StudentMarkChecking.java`)
