# bharat2044/striver-a2z-dsa-sheet-solution-using-java architecture

> Architecture diagram of the GitHub repository bharat2044/striver-a2z-dsa-sheet-solution-using-java, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java
- Repository: https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java

## Overview

This repository is a Java solution collection for Striver’s A2Z DSA learning sheet, not a single running application. The documented workflow is for a learner to study the course topics and use the example solutions to practice algorithms. Its major branches progress through fundamentals, sorting and arrays, binary search and strings, linked lists and recursion, then bit manipulation and stacks/queues. The examples are largely standalone; no runtime calls between them are evidenced, so the graph shows the documented learning relationship rather than an invented execution pipeline.

Main entry points: [`Step 01 : Learn the basics/Lec 1: Things to Know in Java or any language`](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%201%3A%20Things%20to%20Know%20in%20Java%20or%20any%20language) (Language Basics), [`Step 01 : Learn the basics/Lec 2: Build-up Logical Thinking`](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%202%3A%20Build-up%20Logical%20Thinking) (Pattern Practice), [`Step 01 : Learn the basics/Lec 4: Know Basic Maths`](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%204%3A%20Know%20Basic%20Maths) (Basic Maths), [`Step 01 : Learn the basics/Lec 5: Learn Basic Recursion`](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%205%3A%20Learn%20Basic%20Recursion) (Basic Recursion)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_basics["Language Basics"]
  node_patterns["Pattern Practice"]
  node_basic_math["Basic Maths"]
  node_basic_recursion["Basic Recursion"]
  node_hashing["Basic Hashing"]
end

subgraph group_array_algorithms["Array Algorithms"]
  node_sorting["Sorting Techniques"]
  node_array_easy["Easy Arrays"]
  node_array_union["Array Union"]
  node_array_medium["Medium Arrays"]
  node_array_majority["Majority Element"]
  node_array_subarray["Maximum Subarray"]
  node_array_hard["Hard Arrays"]
end

subgraph group_search_strings["Search and Strings"]
  node_binary_search["Binary Search"]
  node_strings["String Problems"]
end

subgraph group_lists_recursion["Lists and Recursion"]
  node_linked_lists["Linked Lists"]
  node_recursion_patterns["Recursion Patterns"]
end

subgraph group_bits_stacks["Bits and Stacks"]
  node_bit_manipulation["Bit Manipulation"]
  node_stack_queue["Stacks and Queues"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_basics
node_learner -->|"practices"| node_patterns
node_learner -->|"practices"| node_basic_math
node_learner -->|"studies"| node_basic_recursion
node_learner -->|"studies"| node_hashing
node_learner -->|"studies"| node_sorting
node_learner -->|"solves"| node_array_easy
node_learner -->|"solves"| node_array_medium
node_learner -->|"solves"| node_array_hard
node_learner -->|"practices"| node_binary_search
node_learner -->|"practices"| node_strings
node_learner -->|"studies"| node_linked_lists
node_learner -->|"studies"| node_recursion_patterns
node_learner -->|"studies"| node_bit_manipulation
node_learner -->|"studies"| node_stack_queue

click node_basics "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%201%3A%20Things%20to%20Know%20in%20Java%20or%20any%20language"
click node_patterns "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%202%3A%20Build-up%20Logical%20Thinking"
click node_basic_math "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%204%3A%20Know%20Basic%20Maths"
click node_basic_recursion "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%205%3A%20Learn%20Basic%20Recursion"
click node_hashing "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%206%3A%20Learn%20Basic%20Hashing"
click node_sorting "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2002%20%3A%20Learn%20Important%20Sorting%20Techniques"
click node_array_easy "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%201%3A%20Easy"
click node_array_union "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%201%3A%20Easy/09_FindTheUnion.java"
click node_array_medium "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium"
click node_array_majority "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium/03_MajorityElementGreaterThanNBy2Times.java"
click node_array_subarray "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium/05_PrintSubarrayWithMaximumSubarraySum.java"
click node_array_hard "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%203%3A%20Hard"
click node_binary_search "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2004%20%3A%20Binary%20Search%20%5B1D%2C%202D%20Arrays%2C%20Search%20Space%5D"
click node_strings "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2005%20%3A%20Strings%20%5BBasic%20and%20Medium%5D"
click node_linked_lists "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2006%20%3A%20Learn%20LinkedList%20%5BSingle%20LL%2C%20Double%20LL%2C%20Medium%2C%20Hard%20Problems%5D"
click node_recursion_patterns "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2007%20%3A%20Recursion%20%5BPatternWise%5D"
click node_bit_manipulation "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2008%20%3A%20Bit%20Manipulation%20%5BConcepts%20%26%20Problems%5D"
click node_stack_queue "https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2009%20%3A%20Stack%20and%20Queues%20%5BLearning%2C%20Pre-In-Post-fix%2C%20Monotonic%20Stack%2C%20Implementation%5D"

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_basics,node_patterns,node_basic_math,node_basic_recursion,node_hashing toneBlue
class node_sorting,node_array_easy,node_array_union,node_array_medium,node_array_majority,node_array_subarray,node_array_hard toneAmber
class node_binary_search,node_strings toneMint
class node_linked_lists,node_recursion_patterns toneRose
class node_bit_manipulation,node_stack_queue,node_learner toneIndigo
```

## Components

### Foundations

- [Language Basics](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%201%3A%20Things%20to%20Know%20in%20Java%20or%20any%20language): `Step 01 : Learn the basics/Lec 1: Things to Know in Java or any language`
- [Pattern Practice](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%202%3A%20Build-up%20Logical%20Thinking): `Step 01 : Learn the basics/Lec 2: Build-up Logical Thinking`
- [Basic Maths](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%204%3A%20Know%20Basic%20Maths): `Step 01 : Learn the basics/Lec 4: Know Basic Maths`
- [Basic Recursion](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%205%3A%20Learn%20Basic%20Recursion): `Step 01 : Learn the basics/Lec 5: Learn Basic Recursion`
- [Basic Hashing](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2001%20%3A%20Learn%20the%20basics/Lec%206%3A%20Learn%20Basic%20Hashing): `Step 01 : Learn the basics/Lec 6: Learn Basic Hashing`

### Array Algorithms

- [Sorting Techniques](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2002%20%3A%20Learn%20Important%20Sorting%20Techniques): `Step 02 : Learn Important Sorting Techniques`
- [Easy Arrays](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%201%3A%20Easy): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 1: Easy`
- [Array Union](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%201%3A%20Easy/09_FindTheUnion.java): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 1: Easy/09_FindTheUnion.java`
- [Medium Arrays](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 2: Medium`
- [Majority Element](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium/03_MajorityElementGreaterThanNBy2Times.java): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 2: Medium/03_MajorityElementGreaterThanNBy2Times.java`
- [Maximum Subarray](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/blob/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%202%3A%20Medium/05_PrintSubarrayWithMaximumSubarraySum.java): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 2: Medium/05_PrintSubarrayWithMaximumSubarraySum.java`
- [Hard Arrays](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2003%20%3A%20Solve%20Problems%20on%20Arrays%20%5BEasy%20-%3E%20Medium%20-%3E%20Hard%5D/Lec%203%3A%20Hard): `Step 03 : Solve Problems on Arrays [Easy -> Medium -> Hard]/Lec 3: Hard`

### Search and Strings

- [Binary Search](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2004%20%3A%20Binary%20Search%20%5B1D%2C%202D%20Arrays%2C%20Search%20Space%5D): `Step 04 : Binary Search [1D, 2D Arrays, Search Space]`
- [String Problems](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2005%20%3A%20Strings%20%5BBasic%20and%20Medium%5D): `Step 05 : Strings [Basic and Medium]`

### Lists and Recursion

- [Linked Lists](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2006%20%3A%20Learn%20LinkedList%20%5BSingle%20LL%2C%20Double%20LL%2C%20Medium%2C%20Hard%20Problems%5D): `Step 06 : Learn LinkedList [Single LL, Double LL, Medium, Hard Problems]`
- [Recursion Patterns](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2007%20%3A%20Recursion%20%5BPatternWise%5D): `Step 07 : Recursion [PatternWise]`

### Bits and Stacks

- [Bit Manipulation](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2008%20%3A%20Bit%20Manipulation%20%5BConcepts%20%26%20Problems%5D): `Step 08 : Bit Manipulation [Concepts & Problems]`
- [Stacks and Queues](https://github.com/bharat2044/striver-a2z-dsa-sheet-solution-using-java/tree/main/Step%2009%20%3A%20Stack%20and%20Queues%20%5BLearning%2C%20Pre-In-Post-fix%2C%20Monotonic%20Stack%2C%20Implementation%5D): `Step 09 : Stack and Queues [Learning, Pre-In-Post-fix, Monotonic Stack, Implementation]`

### Other components

- **Learner**

## Connections

- Learner → Language Basics: studies (evidence: `README.md`)
- Learner → Pattern Practice: practices (evidence: `README.md`)
- Learner → Basic Maths: practices (evidence: `README.md`)
- Learner → Basic Recursion: studies (evidence: `README.md`)
- Learner → Basic Hashing: studies (evidence: `README.md`)
- Learner → Sorting Techniques: studies (evidence: `README.md`)
- Learner → Easy Arrays: solves (evidence: `README.md`)
- Learner → Medium Arrays: solves (evidence: `README.md`)
- Learner → Hard Arrays: solves (evidence: `README.md`)
- Learner → Binary Search: practices (evidence: `README.md`)
- Learner → String Problems: practices (evidence: `README.md`)
- Learner → Linked Lists: studies (evidence: `README.md`)
- Learner → Recursion Patterns: studies (evidence: `README.md`)
- Learner → Bit Manipulation: studies (evidence: `README.md`)
- Learner → Stacks and Queues: studies (evidence: `README.md`)
