# srjadhikari/dsa-with-cpp architecture

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

- Interactive diagram: https://gitdiagram.com/srjadhikari/dsa-with-cpp
- Repository: https://github.com/srjadhikari/dsa-with-cpp

## Overview

This repository is a C++ data-structures-and-algorithms learning collection, not a single application. The principal workflow is for a learner to navigate to a topic, study its notes, and use the accompanying code and problem solutions. The visible tree contains independent example programs organized by topic, with no shared runtime or cross-topic call chain. The graph groups those topic collections; README-documented navigation and learning relationships are shown, while unsampled implementations are not assumed to call one another.

Main entry points: [`01_Basics_Of_Programming-1`](https://github.com/srjadhikari/dsa-with-cpp/tree/main/01_Basics_Of_Programming-1) (Programming Basics 1), [`02_Basics_Of_Programming-2`](https://github.com/srjadhikari/dsa-with-cpp/tree/main/02_Basics_Of_Programming-2) (Programming Basics 2), [`03_Array`](https://github.com/srjadhikari/dsa-with-cpp/tree/main/03_Array) (Arrays), [`04_Searching`](https://github.com/srjadhikari/dsa-with-cpp/tree/main/04_Searching) (Searching)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["Programming Basics"]
  node_basics1["Programming Basics 1"]
  node_basics2["Programming Basics 2"]
end

subgraph group_algorithms["Algorithms"]
  node_arrays["Arrays"]
  node_searching["Searching"]
  node_sorting["Sorting"]
end

subgraph group_recursive["Recursion Techniques"]
  node_recursion["Recursion"]
  node_backtracking["Backtracking And DnC"]
end

subgraph group_linear["Linear Structures"]
  node_linkedlists["Linked Lists"]
  node_stacks["Stacks"]
  node_queues["Queues"]
end

subgraph group_trees["Trees And Graphs"]
  node_binarytrees["Binary Trees"]
  node_bst["Search Trees"]
  node_heaps["Heaps"]
  node_maps["Maps And Tries"]
  node_graphs["Graphs"]
end

node_learner(("Learner"))

node_learner -->|"navigates to"| node_basics1
node_learner -->|"navigates to"| node_basics2
node_learner -->|"navigates to"| node_arrays
node_learner -->|"navigates to"| node_searching
node_learner -->|"navigates to"| node_sorting
node_learner -->|"navigates to"| node_recursion
node_learner -->|"navigates to"| node_backtracking
node_learner -->|"navigates to"| node_linkedlists
node_learner -->|"navigates to"| node_stacks
node_learner -->|"navigates to"| node_queues
node_learner -->|"navigates to"| node_binarytrees
node_learner -->|"navigates to"| node_bst
node_learner -->|"navigates to"| node_heaps
node_learner -->|"navigates to"| node_maps
node_learner -->|"navigates to"| node_graphs

click node_basics1 "https://github.com/srjadhikari/dsa-with-cpp/tree/main/01_Basics_Of_Programming-1"
click node_basics2 "https://github.com/srjadhikari/dsa-with-cpp/tree/main/02_Basics_Of_Programming-2"
click node_arrays "https://github.com/srjadhikari/dsa-with-cpp/tree/main/03_Array"
click node_searching "https://github.com/srjadhikari/dsa-with-cpp/tree/main/04_Searching"
click node_sorting "https://github.com/srjadhikari/dsa-with-cpp/tree/main/05_Sorting"
click node_recursion "https://github.com/srjadhikari/dsa-with-cpp/tree/main/08_Recursion"
click node_backtracking "https://github.com/srjadhikari/dsa-with-cpp/tree/main/09_BackTracking_And_DnC"
click node_linkedlists "https://github.com/srjadhikari/dsa-with-cpp/tree/main/12_Linked_List"
click node_stacks "https://github.com/srjadhikari/dsa-with-cpp/tree/main/13_Stack"
click node_queues "https://github.com/srjadhikari/dsa-with-cpp/tree/main/14_Queue"
click node_binarytrees "https://github.com/srjadhikari/dsa-with-cpp/tree/main/15_Binary_Tree"
click node_bst "https://github.com/srjadhikari/dsa-with-cpp/tree/main/16_Binary_Search_Tree"
click node_heaps "https://github.com/srjadhikari/dsa-with-cpp/tree/main/17_Heap"
click node_maps "https://github.com/srjadhikari/dsa-with-cpp/tree/main/18_Maps_And_Tries"
click node_graphs "https://github.com/srjadhikari/dsa-with-cpp/tree/main/20_Graph"

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_basics1,node_basics2 toneBlue
class node_arrays,node_searching,node_sorting toneAmber
class node_recursion,node_backtracking toneMint
class node_linkedlists,node_stacks,node_queues toneRose
class node_binarytrees,node_bst,node_heaps,node_maps,node_graphs,node_learner toneIndigo
```

## Components

### Programming Basics

- [Programming Basics 1](https://github.com/srjadhikari/dsa-with-cpp/tree/main/01_Basics_Of_Programming-1): `01_Basics_Of_Programming-1`
- [Programming Basics 2](https://github.com/srjadhikari/dsa-with-cpp/tree/main/02_Basics_Of_Programming-2): `02_Basics_Of_Programming-2`

### Algorithms

- [Arrays](https://github.com/srjadhikari/dsa-with-cpp/tree/main/03_Array): `03_Array`
- [Searching](https://github.com/srjadhikari/dsa-with-cpp/tree/main/04_Searching): `04_Searching`
- [Sorting](https://github.com/srjadhikari/dsa-with-cpp/tree/main/05_Sorting): `05_Sorting`

### Recursion Techniques

- [Recursion](https://github.com/srjadhikari/dsa-with-cpp/tree/main/08_Recursion): `08_Recursion`
- [Backtracking And DnC](https://github.com/srjadhikari/dsa-with-cpp/tree/main/09_BackTracking_And_DnC): `09_BackTracking_And_DnC`

### Linear Structures

- [Linked Lists](https://github.com/srjadhikari/dsa-with-cpp/tree/main/12_Linked_List): `12_Linked_List`
- [Stacks](https://github.com/srjadhikari/dsa-with-cpp/tree/main/13_Stack): `13_Stack`
- [Queues](https://github.com/srjadhikari/dsa-with-cpp/tree/main/14_Queue): `14_Queue`

### Trees And Graphs

- [Binary Trees](https://github.com/srjadhikari/dsa-with-cpp/tree/main/15_Binary_Tree): `15_Binary_Tree`
- [Search Trees](https://github.com/srjadhikari/dsa-with-cpp/tree/main/16_Binary_Search_Tree): `16_Binary_Search_Tree`
- [Heaps](https://github.com/srjadhikari/dsa-with-cpp/tree/main/17_Heap): `17_Heap`
- [Maps And Tries](https://github.com/srjadhikari/dsa-with-cpp/tree/main/18_Maps_And_Tries): `18_Maps_And_Tries`
- [Graphs](https://github.com/srjadhikari/dsa-with-cpp/tree/main/20_Graph): `20_Graph`

### Other components

- **Learner**

## Connections

- Learner → Programming Basics 1: navigates to (evidence: `README.md`)
- Learner → Programming Basics 2: navigates to (evidence: `README.md`)
- Learner → Arrays: navigates to (evidence: `README.md`)
- Learner → Searching: navigates to (evidence: `README.md`)
- Learner → Sorting: navigates to (evidence: `README.md`)
- Learner → Recursion: navigates to (evidence: `README.md`)
- Learner → Backtracking And DnC: navigates to (evidence: `README.md`)
- Learner → Linked Lists: navigates to (evidence: `README.md`)
- Learner → Stacks: navigates to (evidence: `README.md`)
- Learner → Queues: navigates to (evidence: `README.md`)
- Learner → Binary Trees: navigates to (evidence: `README.md`)
- Learner → Search Trees: navigates to (evidence: `README.md`)
- Learner → Heaps: navigates to (evidence: `README.md`)
- Learner → Maps And Tries: navigates to (evidence: `README.md`)
- Learner → Graphs: navigates to (evidence: `README.md`)
