# burnoz/estructuras-de-datos-y-algoritmos-fundamentales architecture

> Architecture diagram of the GitHub repository burnoz/estructuras-de-datos-y-algoritmos-fundamentales, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales
- Repository: https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales

## Overview

##### Project type and purpose
- This is a C++ “algorithm playground” or educational codebase. It contains standalone console programs (.cpp → .exe) that implement core algorithms and data structures for classroom activities and assignments.
- There is no central frontend/backend or database; instead, the repo is organized as a collection of independent modules, each demonstrating a particular algorithm or data structure.

##### File structure
- Top-level folders correspond to broad algorithm categories:
- “algoritmos” (miscellaneous algorithms)
- “arboles” (trees: avl, bst, heap, splay)
- “busqueda” (search)
- “factorial (tail recursion)”
- “fibonacci” and “fibonacci v2”
- “grafos” (graph algorithms and traversals)
- “hashing” (linear, quadratic)
- “listas enlazadas” (single, doubly)
- “ordenamiento” (sorting)
- “pilas y filas” (stacks & queues)
- “potencias” (power)
- “punteros” (pointers)
- “sumas” (sums)
- “test” (unit or smoke tests)
- Each module folder contains a C++ source file (.cpp), a compiled executable (.exe), and sometimes data/text inputs.

##### README
- Very brief: “Actividades en clase y tareas.”
- Confirms this is a teaching/learning repository rather than a production service or library.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% README
    README["README.md"]:::readme

    %% Category Modules
    subgraph "Algorithm Modules" 
        direction TB
        MiscAlgo["algoritmos"]:::module
        Trees["arboles"]:::module
        Search["busqueda"]:::module
        Recursion["Recursion"]:::module
        Graphs["grafos"]:::module
        Hashing["hashing"]:::module
        Lists["listas enlazadas"]:::module
        Sorting["ordenamiento"]:::module
        StacksQueues["pilas y filas"]:::module
        Power["potencias"]:::module
        Pointers["punteros"]:::module
        Sums["sumas"]:::module
    end

    %% Recursion Submodules
    subgraph "Recursion" 
        direction TB
        Factorial["factorial (tail recursion)"]:::module
        Fibonacci["fibonacci"]:::module
        FibonacciV2["fibonacci v2"]:::module
    end

    %% Trees Submodules
    subgraph "Trees" 
        direction TB
        AVL["AVL Tree"]:::module
        BST["BST"]:::module
        Heap["Heap"]:::module
        Splay["Splay"]:::module
    end

    %% Graphs Submodules
    subgraph "Graphs" 
        direction TB
        GraphCore["Core Algorithms"]:::module
        GraphTrav["Traversals"]:::module
    end

    %% Hashing Submodules
    subgraph "Hashing" 
        direction TB
        Linear["Linear Probing"]:::module
        Quadratic["Quadratic Probing"]:::module
    end

    %% Lists Submodules
    subgraph "Linked Lists" 
        direction TB
        Doubly["Doubly Linked"]:::module
        Singly["Singly Linked"]:::module
    end

    %% Stacks & Queues Submodules
    subgraph "Stacks & Queues" 
        direction TB
        Enlazadas["Linked Stacks/Queues"]:::module
        Simples["Simple Stacks/Queues"]:::module
    end

    %% Build System and Execution
    Build["Build System (g++/cl)"]:::build
    EXE["Executables (.exe)"]:::exe
    Env["Execution Env (Windows CLI)"]:::env

    %% Test Suite
    Test["Test Suite"]:::test

    %% Data Files
    Data["Data Files"]:::data

    %% Flows
    MiscAlgo -->|compile| Build -->|produces| EXE
    Trees -->|compile all| Build --> EXE
    Search -->|compile| Build --> EXE
    Recursion -->|compile| Build --> EXE
    Graphs -->|compile| Build --> EXE
    Hashing -->|compile| Build --> EXE
    Lists -->|compile| Build --> EXE
    Sorting -->|compile| Build --> EXE
    StacksQueues -->|compile| Build --> EXE
    Power -->|compile| Build --> EXE
    Pointers -->|compile| Build --> EXE
    Sums -->|compile| Build --> EXE

    EXE -->|run| Env
    Test -->|test| MiscAlgo
    Test -->|test| Trees
    Test -->|test| Search
    Test -->|test| Recursion
    Test -->|test| Graphs
    Test -->|test| Hashing
    Test -->|test| Lists
    Test -->|test| Sorting
    Test -->|test| StacksQueues
    Test -->|test| Power
    Test -->|test| Pointers
    Test -->|test| Sums

    Data -->|input| MiscAlgo
    Data -->|input| GraphCore
    Data -->|input| GraphTrav
    Data -->|input| Quadratic

    %% Click Events
    click MiscAlgo "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/tree/main/algoritmos/"
    click AVL "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/arboles/avl/avl.cpp"
    click AVL "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/arboles/avl/avl.exe"
    click Trees "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/tree/main/arboles/"
    click Search "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/busqueda/busqueda.cpp"
    click Search "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/busqueda/busqueda.exe"
    click Factorial "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/factorial (tail recursion)/factorial.cpp"
    click Factorial "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/factorial (tail recursion)/factorial.exe"
    click Fibonacci "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/fibonacci/fibonacci.cpp"
    click Fibonacci "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/fibonacci/fibonacci.exe"
    click FibonacciV2 "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/fibonacci v2/fibonacci_v2.cpp"
    click FibonacciV2 "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/fibonacci v2/fibonacci_v2.exe"
    click GraphCore "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/algoritmos/algoritmos.cpp"
    click GraphCore "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/algoritmos/algoritmos.exe"
    click GraphCore "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/algoritmos/grafo.txt"
    click GraphCore "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/algoritmos/grafo_ponderado.txt"
    click GraphTrav "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/recorridos/grafos.cpp"
    click GraphTrav "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/recorridos/grafos.exe"
    click GraphTrav "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/grafos/recorridos/grafo.txt"
    click Linear "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/hashing/linear/hashing_linear.cpp"
    click Linear "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/hashing/linear/hashing_linear.exe"
    click Quadratic "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/hashing/quadratic/hashing_quadratic.cpp"
    click Quadratic "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/hashing/quadratic/hashing_quadratic.exe"
    click Quadratic "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/hashing/quadratic/primes.txt"
    click Doubly "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/listas enlazadas/dobles/doubly.cpp"
    click Doubly "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/listas enlazadas/dobles/doubly.exe"
    click Singly "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/listas enlazadas/simples/linked_list.cpp"
    click Singly "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/listas enlazadas/simples/linked_list.exe"
    click Sorting "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/ordenamiento/sortAlgorithms.cpp"
    click Sorting "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/ordenamiento/sortAlgorithms.exe"
    click Enlazadas "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/pilas y filas/enlazadas/enlazadas.cpp"
    click Enlazadas "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/pilas y filas/enlazadas/enlazadas.exe"
    click Simples "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/pilas y filas/simples/pilas_filas.cpp"
    click Simples "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/pilas y filas/simples/pilas_filas.exe"
    click Power "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/potencias/potencias.cpp"
    click Power "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/potencias/potencias.exe"
    click Pointers "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/punteros/punteros.cpp"
    click Pointers "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/punteros/punteros.exe"
    click Sums "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/sumas/sumas.cpp"
    click Sums "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/sumas/sumas.exe"
    click Test "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/test/test.cpp"
    click README "https://github.com/burnoz/estructuras-de-datos-y-algoritmos-fundamentales/blob/main/README.md"

    %% Styles
    classDef module fill:#AED6F1,stroke:#1B4F72,color:#1B2631;
    classDef build fill:#A9DFBF,stroke:#196F3D,color:#145A32;
    classDef exe fill:#F9E79F,stroke:#B7950B,color:#7D6608;
    classDef env fill:#D5D8DC,stroke:#566573,color:#1C2833;
    classDef test fill:#F5B7B1,stroke:#C0392B,color:#641E16;
    classDef data fill:#D2B4DE,stroke:#6C3483,color:#4A235A;
    classDef readme fill:#FCF3CF,stroke:#B9770E,color:#7E5109;
```
