# sushovankarmakar/topic-wise-dsa architecture

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

- Interactive diagram: https://gitdiagram.com/sushovankarmakar/topic-wise-dsa
- Repository: https://github.com/sushovankarmakar/topic-wise-dsa

## Overview

This repository is a topic-organized collection of standalone data-structures-and-algorithms solutions and interview examples, not a single application. The typical use is to select a problem solution, provide its input (often through a sample main method), and inspect its computed result. The README highlights graph problems, while the tree shows broad coverage across algorithms, data structures, and interview topics. The graph groups those capabilities rather than implying a shared runtime or execution pipeline; connections are limited to relationships visible in the supplied source excerpts or README.

Main entry points: [`core-java-interview/src`](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/core-java-interview/src) (Interview Exercises), [`linked-list/src`](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/linked-list/src) (Linked List Solutions), [`tree/src`](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/tree/src) (Tree and BST Solutions), [`graph/src`](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/graph/src) (Graph Algorithms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_algorithms["Algorithm Topics"]
  node_arrays["Array and Search Solutions"]
  node_dynamic["Dynamic Programming"]
  node_strings["Strings and Windows"]
  node_other_algorithms["Other Algorithm Topics"]
end

subgraph group_structures["Data Structures"]
  node_linked["Linked List Solutions"]
  node_linked_nodes["Singly Linked Nodes<br/>[SingleLLNode.java]"]
  node_udemy_list["Linked List Operations<br/>[LinkedList.java]"]
  node_array_node["Array Node Type<br/>[Node.java]"]
  node_trees["Tree and BST Solutions"]
  node_bst_node["BST Tree Node<br/>[TreeNode.java]"]
end

subgraph group_graph["Graph Problems"]
  node_graph_solutions["Graph Algorithms"]
  node_route_reorder["Route Reordering"]
end

subgraph group_examples["Interview Examples"]
  node_interview["Interview Exercises"]
  node_parent["Parent Example<br/>[Parent.java]"]
  node_child["Child Example<br/>[Child.java]"]
  node_java_streams["Java Stream Examples"]
end

node_engineer(("Learner or Engineer"))
node_catalog["DSA Solution Collection"]

node_engineer -->|"selects topic"| node_catalog
node_catalog -->|"organizes solutions"| node_arrays
node_catalog -->|"organizes solutions"| node_dynamic
node_catalog -->|"organizes solutions"| node_strings
node_catalog -->|"organizes solutions"| node_other_algorithms
node_catalog -->|"organizes solutions"| node_linked
node_catalog -->|"organizes solutions"| node_trees
node_catalog -->|"organizes solutions"| node_graph_solutions
node_catalog -->|"includes examples"| node_interview
node_catalog -.->|"includes examples"| node_java_streams
node_linked -->|"uses node type"| node_linked_nodes
node_udemy_list -->|"uses node type"| node_array_node
node_trees -->|"uses BST node"| node_bst_node
node_graph_solutions -->|"includes solution"| node_route_reorder
node_interview -->|"invokes methods"| node_parent
node_interview -->|"instantiates"| node_child
node_child -->|"extends"| node_parent

click node_arrays "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/arrays/src"
click node_dynamic "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/dynamic-programming/src"
click node_strings "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/strings/src"
click node_other_algorithms "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/two-pointers/src"
click node_linked "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/linked-list/src"
click node_linked_nodes "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/linked-list/src/nodes/SingleLLNode.java"
click node_udemy_list "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/linked-list/udemy/LinkedList.java"
click node_array_node "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/arrays/src/Node.java"
click node_trees "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/tree/src"
click node_bst_node "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/tree/src/bst/TreeNode.java"
click node_graph_solutions "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/graph/src"
click node_route_reorder "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/graph/src/_1466_ReorderRoutes.java"
click node_interview "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/core-java-interview/src"
click node_parent "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/core-java-interview/src/Parent.java"
click node_child "https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/core-java-interview/src/Child.java"
click node_java_streams "https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/java-streams/src"

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_arrays,node_dynamic,node_strings,node_other_algorithms toneBlue
class node_linked,node_linked_nodes,node_udemy_list,node_array_node,node_trees,node_bst_node toneAmber
class node_graph_solutions,node_route_reorder toneMint
class node_interview,node_parent,node_child,node_java_streams toneRose
class node_engineer,node_catalog toneIndigo
```

## Components

### Algorithm Topics

- [Array and Search Solutions](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/arrays/src): `arrays/src`
- [Dynamic Programming](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/dynamic-programming/src): `dynamic-programming/src`
- [Strings and Windows](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/strings/src): `strings/src`
- [Other Algorithm Topics](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/two-pointers/src): `two-pointers/src`

### Data Structures

- [Linked List Solutions](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/linked-list/src): `linked-list/src`
- [Singly Linked Nodes](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/linked-list/src/nodes/SingleLLNode.java): `linked-list/src/nodes/SingleLLNode.java`
- [Linked List Operations](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/linked-list/udemy/LinkedList.java): `linked-list/udemy/LinkedList.java`
- [Array Node Type](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/arrays/src/Node.java): `arrays/src/Node.java`
- [Tree and BST Solutions](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/tree/src): `tree/src`
- [BST Tree Node](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/tree/src/bst/TreeNode.java): `tree/src/bst/TreeNode.java`

### Graph Problems

- [Graph Algorithms](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/graph/src): `graph/src`
- [Route Reordering](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/graph/src/_1466_ReorderRoutes.java): `graph/src/_1466_ReorderRoutes.java`

### Interview Examples

- [Interview Exercises](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/core-java-interview/src): `core-java-interview/src`
- [Parent Example](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/core-java-interview/src/Parent.java): `core-java-interview/src/Parent.java`
- [Child Example](https://github.com/sushovankarmakar/topic-wise-dsa/blob/master/core-java-interview/src/Child.java): `core-java-interview/src/Child.java`
- [Java Stream Examples](https://github.com/sushovankarmakar/topic-wise-dsa/tree/master/java-streams/src): `java-streams/src`

### Other components

- **Learner or Engineer**
- **DSA Solution Collection**

## Connections

- Learner or Engineer → DSA Solution Collection: selects topic (evidence: `README.md`)
- DSA Solution Collection → Array and Search Solutions: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Dynamic Programming: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Strings and Windows: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Other Algorithm Topics: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Linked List Solutions: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Tree and BST Solutions: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Graph Algorithms: organizes solutions (evidence: `README.md`)
- DSA Solution Collection → Interview Exercises: includes examples (evidence: `README.md`)
- DSA Solution Collection → Java Stream Examples: includes examples
- Linked List Solutions → Singly Linked Nodes: uses node type (evidence: `linked-list/src/_328_OddEvenLinkedList.java`)
- Linked List Operations → Array Node Type: uses node type (evidence: `linked-list/udemy/LinkedList.java`)
- Tree and BST Solutions → BST Tree Node: uses BST node (evidence: `tree/src/bst/basic_operations/_700_SearchInBST.java`)
- Graph Algorithms → Route Reordering: includes solution (evidence: `README.md`)
- Interview Exercises → Parent Example: invokes methods (evidence: `core-java-interview/src/Main.java`)
- Interview Exercises → Child Example: instantiates (evidence: `core-java-interview/src/Main.java`)
- Child Example → Parent Example: extends (evidence: `core-java-interview/src/Child.java`)
