# seamoonsbird/c-learn architecture

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

- Interactive diagram: https://gitdiagram.com/seamoonsbird/c-learn
- Repository: https://github.com/seamoonsbird/c-learn

## Overview

This repository is a collection of independent C learning exercises, not one integrated application. The typical user workflow is to run a standalone program, provide input through the console, and receive a computed result or interactive behavior. The examples span algorithms, data structures, coursework and small games. The graph keeps those branches separate; sampled entry points and internal calls are shown where excerpts establish them. The README is empty, and unsampled programs’ runtime relationships are not inferred.

Main entry points: [`experiment/11/lab11Pro.c`](https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11Pro.c) (Playlist program), [`experiment/9/9001.c`](https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c) (JSON bracket checker), [`experiment/2/task1.c`](https://github.com/seamoonsbird/c-learn/blob/main/experiment/2/task1.c) (Customer arrays), [`experiment/7/task1.c`](https://github.com/seamoonsbird/c-learn/blob/main/experiment/7/task1.c) (Reaction-time game)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_algorithms["Algorithms"]
  node_leetcode["LeetCode solutions"]
  node_sorts["Sorting examples"]
  node_array_exercises["Array exercises"]
  node_misc["Other C exercises"]
end

subgraph group_coursework["Coursework"]
  node_experiment2["Customer arrays<br/>[task1.c]"]
  node_experiment7["Reaction-time game<br/>[task1.c]"]
  node_experiment10["Download scheduler<br/>[1001.c]"]
  node_experiment11["Playlist manager<br/>[lab11.c]"]
  node_playlist_pro["Playlist program<br/>[lab11Pro.c]"]
  node_playlist_state["Playlist state<br/>[lab11Pro.c]"]
  node_experiment9["JSON bracket checker<br/>[9001.c]"]
  node_bracket_logic["Bracket validation<br/>[9001.c]"]
  node_experiments["Other lab programs"]
  node_homework["Homework programs"]
end

subgraph group_structures["Data Structures"]
  node_stack_engine["Dynamic stack<br/>[9001.c]"]
  node_stack_examples["Stack exercises"]
  node_linked_lists["Linked-list examples"]
  node_pointer_examples["Pointer exercises"]
  node_strings["String exercises"]
end

subgraph group_interactive["Interactive Programs"]
  node_maze["Maze game<br/>[maze.c]"]
end

node_user(("Program user"))

node_user -->|"runs and inputs"| node_experiment2
node_user -->|"starts and chooses"| node_experiment7
node_user -->|"sends commands"| node_experiment10
node_user -->|"uses menu"| node_playlist_pro
node_playlist_pro -->|"manages"| node_playlist_state
node_user -->|"provides input"| node_experiment9
node_experiment9 -->|"checks both versions"| node_bracket_logic
node_bracket_logic -->|"uses stack operations"| node_stack_engine
node_user -->|"moves through"| node_maze

click node_leetcode "https://github.com/seamoonsbird/c-learn/tree/main/LeetCode"
click node_sorts "https://github.com/seamoonsbird/c-learn/tree/main/sort"
click node_array_exercises "https://github.com/seamoonsbird/c-learn/tree/main/array"
click node_experiment2 "https://github.com/seamoonsbird/c-learn/blob/main/experiment/2/task1.c"
click node_experiment7 "https://github.com/seamoonsbird/c-learn/blob/main/experiment/7/task1.c"
click node_experiment10 "https://github.com/seamoonsbird/c-learn/blob/main/experiment/10/1001.c"
click node_experiment11 "https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11.c"
click node_playlist_pro "https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11Pro.c"
click node_playlist_state "https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11Pro.c"
click node_experiment9 "https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c"
click node_bracket_logic "https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c"
click node_stack_engine "https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c"
click node_stack_examples "https://github.com/seamoonsbird/c-learn/tree/main/stack"
click node_linked_lists "https://github.com/seamoonsbird/c-learn/tree/main/struct"
click node_pointer_examples "https://github.com/seamoonsbird/c-learn/tree/main/point"
click node_strings "https://github.com/seamoonsbird/c-learn/tree/main/string"
click node_maze "https://github.com/seamoonsbird/c-learn/blob/main/game/maze.c"
click node_experiments "https://github.com/seamoonsbird/c-learn/tree/main/experiment"
click node_homework "https://github.com/seamoonsbird/c-learn/tree/main/homework"
click node_misc "https://github.com/seamoonsbird/c-learn/tree/main/else"

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_leetcode,node_sorts,node_array_exercises,node_misc,node_user toneBlue
class node_experiment2,node_experiment7,node_experiment10,node_experiment11,node_playlist_pro,node_playlist_state,node_experiment9,node_bracket_logic,node_experiments,node_homework toneAmber
class node_stack_engine,node_stack_examples,node_linked_lists,node_pointer_examples,node_strings toneMint
class node_maze toneRose
```

## Components

### Algorithms

- [LeetCode solutions](https://github.com/seamoonsbird/c-learn/tree/main/LeetCode): `LeetCode`
- [Sorting examples](https://github.com/seamoonsbird/c-learn/tree/main/sort): `sort`
- [Array exercises](https://github.com/seamoonsbird/c-learn/tree/main/array): `array`
- [Other C exercises](https://github.com/seamoonsbird/c-learn/tree/main/else): `else`

### Coursework

- [Customer arrays](https://github.com/seamoonsbird/c-learn/blob/main/experiment/2/task1.c): `experiment/2/task1.c`
- [Reaction-time game](https://github.com/seamoonsbird/c-learn/blob/main/experiment/7/task1.c): `experiment/7/task1.c`
- [Download scheduler](https://github.com/seamoonsbird/c-learn/blob/main/experiment/10/1001.c): `experiment/10/1001.c`
- [Playlist manager](https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11.c): `experiment/11/lab11.c`
- [Playlist program](https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11Pro.c): `experiment/11/lab11Pro.c`
- [Playlist state](https://github.com/seamoonsbird/c-learn/blob/main/experiment/11/lab11Pro.c): `experiment/11/lab11Pro.c`
- [JSON bracket checker](https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c): `experiment/9/9001.c`
- [Bracket validation](https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c): `experiment/9/9001.c`
- [Other lab programs](https://github.com/seamoonsbird/c-learn/tree/main/experiment): `experiment`
- [Homework programs](https://github.com/seamoonsbird/c-learn/tree/main/homework): `homework`

### Data Structures

- [Dynamic stack](https://github.com/seamoonsbird/c-learn/blob/main/experiment/9/9001.c): `experiment/9/9001.c`
- [Stack exercises](https://github.com/seamoonsbird/c-learn/tree/main/stack): `stack`
- [Linked-list examples](https://github.com/seamoonsbird/c-learn/tree/main/struct): `struct`
- [Pointer exercises](https://github.com/seamoonsbird/c-learn/tree/main/point): `point`
- [String exercises](https://github.com/seamoonsbird/c-learn/tree/main/string): `string`

### Interactive Programs

- [Maze game](https://github.com/seamoonsbird/c-learn/blob/main/game/maze.c): `game/maze.c`

### Other components

- **Program user**

## Connections

- Program user → Customer arrays: runs and inputs (evidence: `experiment/2/task1.c`)
- Program user → Reaction-time game: starts and chooses (evidence: `experiment/7/task1.c`)
- Program user → Download scheduler: sends commands (evidence: `experiment/10/1001.c`)
- Program user → Playlist program: uses menu (evidence: `experiment/11/lab11Pro.c`)
- Playlist program → Playlist state: manages (evidence: `experiment/11/lab11Pro.c`)
- Program user → JSON bracket checker: provides input (evidence: `experiment/9/9001.c`)
- JSON bracket checker → Bracket validation: checks both versions (evidence: `experiment/9/9001.c`)
- Bracket validation → Dynamic stack: uses stack operations (evidence: `experiment/9/9001.c`)
- Program user → Maze game: moves through (evidence: `game/maze.c`)
