# denniz-blipblip/data-structures-and-algorithms architecture

> Architecture diagram of the GitHub repository denniz-blipblip/data-structures-and-algorithms, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/denniz-blipblip/data-structures-and-algorithms
- Repository: https://github.com/denniz-blipblip/data-structures-and-algorithms

## Overview

This is a learning repository of data-structure and algorithm examples implemented across Python, Java, C#, and C++, rather than one integrated application. The usual workflow is to run a small example program that invokes an algorithm or manipulates a structure and prints a result. The map groups examples by domain and retains the README’s documented topics as well as the central modules named in the source index. Relationships are limited to calls shown in excerpts or source-index references; unsampled implementations are represented without inferred call paths.

Main entry points: [`Binary-Search-Tree/BST-CPP/Tree.h`](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Tree.h) (Binary search tree), [`BinarySearch/java/src/App.java`](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BinarySearch/java/src/App.java) (Binary search demo), [`Interpolation/java/src/App.java`](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Interpolation/java/src/App.java) (Interpolation demo), [`LinkedList/LinkedList_java/src/App.java`](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList_java/src/App.java) (Linked list demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_search["Search algorithms"]
  node_binary_search["Binary search<br/>[Search.java]"]
  node_interpolation["Interpolation search<br/>[Find.java]"]
  node_linear_search["Linear search<br/>[Search.java]"]
  node_levenshtein["Levenshtein distance<br/>[Leven.cs]"]
end

subgraph group_sorting["Sorting algorithms"]
  node_bubble["Bubble sort<br/>[Sort.h]"]
  node_merge["Merge sort<br/>[Sort.java]"]
  node_quick["Quick sort<br/>[Sort.h]"]
  node_insertion["Insertion sort<br/>[Sort.h]"]
  node_selection["Selection sort<br/>[Sort.cs]"]
end

subgraph group_structures["Data structures"]
  node_bst_data["BST data<br/>[Data.h]"]
  node_bst_node["BST node<br/>[Node.h]"]
  node_bst_tree["Binary search tree<br/>[Tree.h]"]
  node_doubly_food["Doubly linked list<br/>[FavouriteFood.java]"]
  node_linked_cpp["Linked list<br/>[LinkedList.h]"]
  node_linked_java["Linked list<br/>[LinkedList.java]"]
  node_queue["Queue<br/>[Queue.h]"]
  node_stack_java["Stack<br/>[Stack.java]"]
  node_stack_cpp["Stack<br/>[Stack.h]"]
  node_trie["Trie<br/>[Trie.cs]"]
  node_graph["Graph<br/>[Graph.java]"]
end

subgraph group_recursion["Recursion and related"]
  node_rec_binary["Recursive examples<br/>[Binary.java]"]
  node_reverse["Reverse<br/>[Reverse.h]"]
end

node_demo_binary["Binary search demo<br/>[App.java]"]
node_demo_interpolation["Interpolation demo<br/>[App.java]"]
node_demo_linked_java["Linked list demo<br/>[App.java]"]
node_demo_linked_cpp["Linked list demo<br/>[main.cpp]"]
node_demo_stack_java["Stack demo<br/>[App.java]"]
node_demo_stack_cpp["Stack demo<br/>[main.cpp]"]
node_demo_merge["Merge sort demo<br/>[App.java]"]
node_demo_quick["Quick sort demo<br/>[App.java]"]
node_demo_food["List demo<br/>[App.java]"]
node_demo_recursion["Recursion demo<br/>[App.java]"]

node_bst_tree -->|"uses"| node_bst_data
node_bst_tree -->|"uses"| node_bst_node
node_demo_binary -->|"calls"| node_binary_search
node_demo_interpolation -->|"calls"| node_interpolation
node_demo_linked_java -->|"calls"| node_linked_java
node_demo_linked_cpp -->|"calls"| node_linked_cpp
node_demo_stack_java -->|"calls"| node_stack_java
node_demo_stack_cpp -->|"calls"| node_stack_cpp
node_demo_merge -->|"calls"| node_merge
node_demo_quick -->|"calls"| node_quick
node_demo_food -->|"calls"| node_doubly_food
node_demo_recursion -->|"calls"| node_rec_binary

click node_bst_data "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Data.h"
click node_bst_node "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Node.h"
click node_bst_tree "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Tree.h"
click node_binary_search "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BinarySearch/java/src/Search.java"
click node_interpolation "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Interpolation/java/src/Find.java"
click node_bubble "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BubbleSort/Sort-Cpp/Sort.h"
click node_doubly_food "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/DoublyLinkedList/Java/src/DoublyLinkedList/FavouriteFood.java"
click node_linked_cpp "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList-Cpp/LinkedList.h"
click node_linked_java "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList_java/src/LinkedList/LinkedList.java"
click node_merge "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/MergeSort/MergeSort-java/src/Sort/Sort.java"
click node_queue "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Queue/Queue-Cpp/Queue.h"
click node_quick "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/QuickSort/QuickSort-cpp/Sort/Sort.h"
click node_rec_binary "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Recursion/Recursion-java/src/Binary/Binary.java"
click node_reverse "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Reverse/Reverse-cpp/Reverse/Reverse.h"
click node_stack_java "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-Java/src/Stack/Stack.java"
click node_stack_cpp "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-cpp/Stack.h"
click node_linear_search "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinearSearch/java/src/Search.java"
click node_levenshtein "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Levenshtein-Distance/Levenshtein-Csharp/src/Leven.cs"
click node_insertion "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/InsertionSort/Insertion-Cpp/Sort/Sort.h"
click node_selection "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/SelectionSort/SelectionSort-Csharp/src/Sort.cs"
click node_trie "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Trie/Trie-Csharp/src/Trie.cs"
click node_graph "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Graph/Graph-Java/src/Graph/Graph.java"
click node_demo_binary "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BinarySearch/java/src/App.java"
click node_demo_interpolation "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Interpolation/java/src/App.java"
click node_demo_linked_java "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList_java/src/App.java"
click node_demo_linked_cpp "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList-Cpp/main.cpp"
click node_demo_stack_java "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-Java/src/App.java"
click node_demo_stack_cpp "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-cpp/main.cpp"
click node_demo_merge "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/MergeSort/MergeSort-java/src/App.java"
click node_demo_quick "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/QuickSort/QuickSort-java/src/App.java"
click node_demo_food "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/DoublyLinkedList/Java/src/App.java"
click node_demo_recursion "https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Recursion/Recursion-java/src/App.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_binary_search,node_interpolation,node_linear_search,node_levenshtein toneBlue
class node_bubble,node_merge,node_quick,node_insertion,node_selection toneAmber
class node_bst_data,node_bst_node,node_bst_tree,node_doubly_food,node_linked_cpp,node_linked_java,node_queue,node_stack_java,node_stack_cpp,node_trie,node_graph toneMint
class node_rec_binary,node_reverse toneRose
class node_demo_binary,node_demo_interpolation,node_demo_linked_java,node_demo_linked_cpp,node_demo_stack_java,node_demo_stack_cpp,node_demo_merge,node_demo_quick,node_demo_food,node_demo_recursion toneTeal
```

## Components

### Search algorithms

- [Binary search](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BinarySearch/java/src/Search.java): `BinarySearch/java/src/Search.java`
- [Interpolation search](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Interpolation/java/src/Find.java): `Interpolation/java/src/Find.java`
- [Linear search](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinearSearch/java/src/Search.java): `LinearSearch/java/src/Search.java`
- [Levenshtein distance](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Levenshtein-Distance/Levenshtein-Csharp/src/Leven.cs): `Levenshtein-Distance/Levenshtein-Csharp/src/Leven.cs`

### Sorting algorithms

- [Bubble sort](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BubbleSort/Sort-Cpp/Sort.h): `BubbleSort/Sort-Cpp/Sort.h`
- [Merge sort](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/MergeSort/MergeSort-java/src/Sort/Sort.java): `MergeSort/MergeSort-java/src/Sort/Sort.java`
- [Quick sort](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/QuickSort/QuickSort-cpp/Sort/Sort.h): `QuickSort/QuickSort-cpp/Sort/Sort.h`
- [Insertion sort](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/InsertionSort/Insertion-Cpp/Sort/Sort.h): `InsertionSort/Insertion-Cpp/Sort/Sort.h`
- [Selection sort](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/SelectionSort/SelectionSort-Csharp/src/Sort.cs): `SelectionSort/SelectionSort-Csharp/src/Sort.cs`

### Data structures

- [BST data](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Data.h): `Binary-Search-Tree/BST-CPP/Data.h`
- [BST node](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Node.h): `Binary-Search-Tree/BST-CPP/Node.h`
- [Binary search tree](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Binary-Search-Tree/BST-CPP/Tree.h): `Binary-Search-Tree/BST-CPP/Tree.h`
- [Doubly linked list](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/DoublyLinkedList/Java/src/DoublyLinkedList/FavouriteFood.java): `DoublyLinkedList/Java/src/DoublyLinkedList/FavouriteFood.java`
- [Linked list](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList-Cpp/LinkedList.h): `LinkedList/LinkedList-Cpp/LinkedList.h`
- [Linked list](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList_java/src/LinkedList/LinkedList.java): `LinkedList/LinkedList_java/src/LinkedList/LinkedList.java`
- [Queue](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Queue/Queue-Cpp/Queue.h): `Queue/Queue-Cpp/Queue.h`
- [Stack](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-Java/src/Stack/Stack.java): `Stack/Stack-Java/src/Stack/Stack.java`
- [Stack](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-cpp/Stack.h): `Stack/Stack-cpp/Stack.h`
- [Trie](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Trie/Trie-Csharp/src/Trie.cs): `Trie/Trie-Csharp/src/Trie.cs`
- [Graph](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Graph/Graph-Java/src/Graph/Graph.java): `Graph/Graph-Java/src/Graph/Graph.java`

### Recursion and related

- [Recursive examples](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Recursion/Recursion-java/src/Binary/Binary.java): `Recursion/Recursion-java/src/Binary/Binary.java`
- [Reverse](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Reverse/Reverse-cpp/Reverse/Reverse.h): `Reverse/Reverse-cpp/Reverse/Reverse.h`

### Other components

- [Binary search demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/BinarySearch/java/src/App.java): `BinarySearch/java/src/App.java`
- [Interpolation demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Interpolation/java/src/App.java): `Interpolation/java/src/App.java`
- [Linked list demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList_java/src/App.java): `LinkedList/LinkedList_java/src/App.java`
- [Linked list demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/LinkedList/LinkedList-Cpp/main.cpp): `LinkedList/LinkedList-Cpp/main.cpp`
- [Stack demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-Java/src/App.java): `Stack/Stack-Java/src/App.java`
- [Stack demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Stack/Stack-cpp/main.cpp): `Stack/Stack-cpp/main.cpp`
- [Merge sort demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/MergeSort/MergeSort-java/src/App.java): `MergeSort/MergeSort-java/src/App.java`
- [Quick sort demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/QuickSort/QuickSort-java/src/App.java): `QuickSort/QuickSort-java/src/App.java`
- [List demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/DoublyLinkedList/Java/src/App.java): `DoublyLinkedList/Java/src/App.java`
- [Recursion demo](https://github.com/denniz-blipblip/data-structures-and-algorithms/blob/main/Recursion/Recursion-java/src/App.java): `Recursion/Recursion-java/src/App.java`

## Connections

- Binary search tree → BST data: uses (evidence: `Binary-Search-Tree/BST-CPP/Tree.h`)
- Binary search tree → BST node: uses (evidence: `Binary-Search-Tree/BST-CPP/Tree.h`)
- Binary search demo → Binary search: calls (evidence: `BinarySearch/java/src/App.java`)
- Interpolation demo → Interpolation search: calls (evidence: `Interpolation/java/src/App.java`)
- Linked list demo → Linked list: calls (evidence: `LinkedList/LinkedList_java/src/App.java`)
- Linked list demo → Linked list: calls (evidence: `LinkedList/LinkedList-Cpp/main.cpp`)
- Stack demo → Stack: calls (evidence: `Stack/Stack-Java/src/App.java`)
- Stack demo → Stack: calls (evidence: `Stack/Stack-cpp/main.cpp`)
- Merge sort demo → Merge sort: calls (evidence: `MergeSort/MergeSort-java/src/App.java`)
- Quick sort demo → Quick sort: calls (evidence: `QuickSort/QuickSort-java/src/App.java`)
- List demo → Doubly linked list: calls (evidence: `DoublyLinkedList/Java/src/App.java`)
- Recursion demo → Recursive examples: calls (evidence: `Recursion/Recursion-java/src/App.java`)
