# prasuksb2007-blip/dsa--python- architecture

> Architecture diagram of the GitHub repository prasuksb2007-blip/dsa--python-, 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/prasuksb2007-blip/dsa--python-
- Repository: https://github.com/prasuksb2007-blip/dsa--python-

## Overview

This is a small Python learning repository of interactive data-structure implementations, not a complete implementation of the README’s full course syllabus. Its implemented workflows let a learner enter and manipulate a linked list, stack, or queue; build binary trees and inspect traversals; and enter a graph, with one implementation also computing DFS. The tree examples include separate recursive and iterative traversal programs. The README lists hashing, advanced trees, and file organization as upcoming or theory topics; they are not represented as implemented components here.

Main entry points: [`Basic Structure Program/single_linked_list.py`](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/single_linked_list.py) (Linked List), [`Basic Structure Program/stack.py`](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/stack.py) (Stack), [`Basic Structure Program/queue.py`](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/queue.py) (Queue), [`Basic Structure Program/binary_tree.py`](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary_tree.py) (Tree Traversals)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_linear["Linear Structures"]
  node_list["Linked List"]
  node_stack["Stack<br/>[stack.py]"]
  node_queue["Queue<br/>[queue.py]"]
end

subgraph group_trees["Binary Trees"]
  node_binary_tree["Tree Traversals<br/>[binary_tree.py]"]
  node_recursive_tree["Recursive Traversals"]
  node_iterative_tree["Iterative Traversals"]
end

subgraph group_graphs["Graphs"]
  node_graph["Adjacency Matrix<br/>[graph.py]"]
  node_graph_dfs["Graph DFS<br/>[graph_dfs.py]"]
end

node_learner(("Learner"))

node_learner -->|"enters values"| node_list
node_learner -->|"uses menu"| node_stack
node_learner -->|"uses menu"| node_queue
node_learner -->|"enters tree"| node_binary_tree
node_learner -->|"enters tree"| node_recursive_tree
node_learner -->|"enters tree"| node_iterative_tree
node_learner -->|"enters graph"| node_graph
node_learner -->|"enters graph"| node_graph_dfs

click node_list "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/single_linked_list.py"
click node_stack "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/stack.py"
click node_queue "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/queue.py"
click node_binary_tree "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary_tree.py"
click node_recursive_tree "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary%26recursive_tree.py"
click node_iterative_tree "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary%26non_recursive_tree.py"
click node_graph "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/graph.py"
click node_graph_dfs "https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/graph_dfs.py"

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_list,node_stack,node_queue toneBlue
class node_binary_tree,node_recursive_tree,node_iterative_tree toneAmber
class node_graph,node_graph_dfs toneMint
class node_learner toneIndigo
```

## Components

### Linear Structures

- [Linked List](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/single_linked_list.py): `Basic Structure Program/single_linked_list.py`
- [Stack](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/stack.py): `Basic Structure Program/stack.py`
- [Queue](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/queue.py): `Basic Structure Program/queue.py`

### Binary Trees

- [Tree Traversals](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary_tree.py): `Basic Structure Program/binary_tree.py`
- [Recursive Traversals](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary%26recursive_tree.py): `Basic Structure Program/binary&recursive_tree.py`
- [Iterative Traversals](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/binary%26non_recursive_tree.py): `Basic Structure Program/binary&non_recursive_tree.py`

### Graphs

- [Adjacency Matrix](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/graph.py): `Basic Structure Program/graph.py`
- [Graph DFS](https://github.com/prasuksb2007-blip/dsa--python-/blob/main/Basic%20Structure%20Program/graph_dfs.py): `Basic Structure Program/graph_dfs.py`

### Other components

- **Learner**

## Connections

- Learner → Linked List: enters values (evidence: `Basic Structure Program/single_linked_list.py`)
- Learner → Stack: uses menu (evidence: `Basic Structure Program/stack.py`)
- Learner → Queue: uses menu (evidence: `Basic Structure Program/queue.py`)
- Learner → Tree Traversals: enters tree (evidence: `Basic Structure Program/binary_tree.py`)
- Learner → Recursive Traversals: enters tree (evidence: `Basic Structure Program/binary&recursive_tree.py`)
- Learner → Iterative Traversals: enters tree (evidence: `Basic Structure Program/binary&non_recursive_tree.py`)
- Learner → Adjacency Matrix: enters graph (evidence: `Basic Structure Program/graph.py`)
- Learner → Graph DFS: enters graph (evidence: `Basic Structure Program/graph_dfs.py`)
