# navaneeth4141/leetcode_submissions architecture

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

- Interactive diagram: https://gitdiagram.com/navaneeth4141/leetcode_submissions
- Repository: https://github.com/navaneeth4141/leetcode_submissions

## Overview

This repository is a collection of independent Java solutions to programming problems, not a single application. The user-facing pattern is to provide problem inputs to a solution method and receive a computed value; no shared runtime, dispatcher, or cross-solution calls are evidenced. The graph groups representative solutions by algorithm domain. The README is empty, and the available source index and excerpts do not establish relationships among solutions, so none are drawn.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_strings["String algorithms"]
  node_roman["Roman conversion"]
  node_palindrome["Palindrome check"]
  node_goal["Command interpretation"]
  node_parentheses["Parenthesis balancing"]
end

subgraph group_numbers["Numeric algorithms"]
  node_multiply["String multiplication"]
  node_divide["Integer division"]
  node_fibonacci["Fibonacci number"]
  node_digitreplacement["Digit-sum replacement"]
end

subgraph group_arrays["Array algorithms"]
  node_separatedigits["Separate digits"]
  node_swaps["Digit-sum sorting"]
  node_servers["Server log queries"]
  node_stock["Stock profit"]
  node_rainwater["Trapped rainwater"]
  node_subarray["Maximum subarray"]
end

subgraph group_structures["Data structures"]
  node_treewalk["Inorder traversal"]
end

node_independent(("Problem caller"))

click node_roman "https://github.com/navaneeth4141/leetcode_submissions/blob/main/13-roman-to-integer/roman-to-integer.java"
click node_palindrome "https://github.com/navaneeth4141/leetcode_submissions/blob/main/125-valid-palindrome/valid-palindrome.java"
click node_goal "https://github.com/navaneeth4141/leetcode_submissions/blob/main/1797-goal-parser-interpretation/goal-parser-interpretation.java"
click node_parentheses "https://github.com/navaneeth4141/leetcode_submissions/blob/main/1648-minimum-insertions-to-balance-a-parentheses-string/minimum-insertions-to-balance-a-parentheses-string.java"
click node_multiply "https://github.com/navaneeth4141/leetcode_submissions/blob/main/43-multiply-strings/multiply-strings.java"
click node_divide "https://github.com/navaneeth4141/leetcode_submissions/blob/main/29-divide-two-integers/divide-two-integers.java"
click node_fibonacci "https://github.com/navaneeth4141/leetcode_submissions/blob/main/1013-fibonacci-number/fibonacci-number.java"
click node_digitreplacement "https://github.com/navaneeth4141/leetcode_submissions/blob/main/3606-minimum-element-after-replacement-with-digit-sum/minimum-element-after-replacement-with-digit-sum.java"
click node_separatedigits "https://github.com/navaneeth4141/leetcode_submissions/blob/main/2639-separate-the-digits-in-an-array/separate-the-digits-in-an-array.java"
click node_swaps "https://github.com/navaneeth4141/leetcode_submissions/blob/main/3847-minimum-swaps-to-sort-by-digit-sum/minimum-swaps-to-sort-by-digit-sum.java"
click node_servers "https://github.com/navaneeth4141/leetcode_submissions/blob/main/2833-count-zero-request-servers/count-zero-request-servers.java"
click node_stock "https://github.com/navaneeth4141/leetcode_submissions/blob/main/121-best-time-to-buy-and-sell-stock/best-time-to-buy-and-sell-stock.java"
click node_rainwater "https://github.com/navaneeth4141/leetcode_submissions/blob/main/42-trapping-rain-water/trapping-rain-water.java"
click node_subarray "https://github.com/navaneeth4141/leetcode_submissions/blob/main/53-maximum-subarray/maximum-subarray.java"
click node_treewalk "https://github.com/navaneeth4141/leetcode_submissions/blob/main/94-binary-tree-inorder-traversal/binary-tree-inorder-traversal.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_roman,node_palindrome,node_goal,node_parentheses toneBlue
class node_multiply,node_divide,node_fibonacci,node_digitreplacement toneAmber
class node_separatedigits,node_swaps,node_servers,node_stock,node_rainwater,node_subarray toneMint
class node_treewalk toneRose
class node_independent toneIndigo
```

## Components

### String algorithms

- [Roman conversion](https://github.com/navaneeth4141/leetcode_submissions/blob/main/13-roman-to-integer/roman-to-integer.java): `13-roman-to-integer/roman-to-integer.java`
- [Palindrome check](https://github.com/navaneeth4141/leetcode_submissions/blob/main/125-valid-palindrome/valid-palindrome.java): `125-valid-palindrome/valid-palindrome.java`
- [Command interpretation](https://github.com/navaneeth4141/leetcode_submissions/blob/main/1797-goal-parser-interpretation/goal-parser-interpretation.java): `1797-goal-parser-interpretation/goal-parser-interpretation.java`
- [Parenthesis balancing](https://github.com/navaneeth4141/leetcode_submissions/blob/main/1648-minimum-insertions-to-balance-a-parentheses-string/minimum-insertions-to-balance-a-parentheses-string.java): `1648-minimum-insertions-to-balance-a-parentheses-string/minimum-insertions-to-balance-a-parentheses-string.java`

### Numeric algorithms

- [String multiplication](https://github.com/navaneeth4141/leetcode_submissions/blob/main/43-multiply-strings/multiply-strings.java): `43-multiply-strings/multiply-strings.java`
- [Integer division](https://github.com/navaneeth4141/leetcode_submissions/blob/main/29-divide-two-integers/divide-two-integers.java): `29-divide-two-integers/divide-two-integers.java`
- [Fibonacci number](https://github.com/navaneeth4141/leetcode_submissions/blob/main/1013-fibonacci-number/fibonacci-number.java): `1013-fibonacci-number/fibonacci-number.java`
- [Digit-sum replacement](https://github.com/navaneeth4141/leetcode_submissions/blob/main/3606-minimum-element-after-replacement-with-digit-sum/minimum-element-after-replacement-with-digit-sum.java): `3606-minimum-element-after-replacement-with-digit-sum/minimum-element-after-replacement-with-digit-sum.java`

### Array algorithms

- [Separate digits](https://github.com/navaneeth4141/leetcode_submissions/blob/main/2639-separate-the-digits-in-an-array/separate-the-digits-in-an-array.java): `2639-separate-the-digits-in-an-array/separate-the-digits-in-an-array.java`
- [Digit-sum sorting](https://github.com/navaneeth4141/leetcode_submissions/blob/main/3847-minimum-swaps-to-sort-by-digit-sum/minimum-swaps-to-sort-by-digit-sum.java): `3847-minimum-swaps-to-sort-by-digit-sum/minimum-swaps-to-sort-by-digit-sum.java`
- [Server log queries](https://github.com/navaneeth4141/leetcode_submissions/blob/main/2833-count-zero-request-servers/count-zero-request-servers.java): `2833-count-zero-request-servers/count-zero-request-servers.java`
- [Stock profit](https://github.com/navaneeth4141/leetcode_submissions/blob/main/121-best-time-to-buy-and-sell-stock/best-time-to-buy-and-sell-stock.java): `121-best-time-to-buy-and-sell-stock/best-time-to-buy-and-sell-stock.java`
- [Trapped rainwater](https://github.com/navaneeth4141/leetcode_submissions/blob/main/42-trapping-rain-water/trapping-rain-water.java): `42-trapping-rain-water/trapping-rain-water.java`
- [Maximum subarray](https://github.com/navaneeth4141/leetcode_submissions/blob/main/53-maximum-subarray/maximum-subarray.java): `53-maximum-subarray/maximum-subarray.java`

### Data structures

- [Inorder traversal](https://github.com/navaneeth4141/leetcode_submissions/blob/main/94-binary-tree-inorder-traversal/binary-tree-inorder-traversal.java): `94-binary-tree-inorder-traversal/binary-tree-inorder-traversal.java`

### Other components

- **Problem caller**
