How lesam24/42madrid-journey works
This repository is a personal archive of independent 42 Madrid coursework, not one integrated application. Its main product areas are C utility libraries and projects, Python curriculum exercises, and Piscine C exercises. The clearest runtime workflow is push_swap: initialize and validate stacks, select an algorithm, perform stack operations, optionally report benchmark data, then clean up. Most exercises are standalone; links are shown only where the excerpts support them. Several subsystem implementations were not sampled, so their internal relationships are omitted.
Main entry points: main.c push_swap Entry · parsing_init.c Stack Setup · push_swap.c Algorithm Dispatch · push_swap Sorting Strategies
Components 22
C Utility Libraries
- Libft
M0/libft
C Projects
- ft_printf
M1/ft_printf/ft_printf.c - Format Printers
M1/ft_printf/ft_print_words.c - Line Reader
M1/get_next_line/get_next_line.c - Reader Demo
M1/get_next_line/main.c - push_swap Entry
M1/push_swap/main.c - Stack Setup
M1/push_swap/parsing_init.c - Argument Parsing
M1/push_swap/parsing_argv.c - Algorithm Dispatch
M1/push_swap/push_swap.c - Sorting Strategies
M1/push_swap - Stack Operations
M1/push_swap/move_push.c - Benchmark Reporting
M1/push_swap
Python Modules
- Garden Basics
M2/Python Module 00 - Plant Models
M2/Python Module 01 - Error Handling
M2/Python Module 02 - Data Systems
M2/Python Module 03
Piscine Exercises
- C00 Exercises
Piscine/C00 - C01 Exercises
Piscine/C01 - C02 Exercises
Piscine/C02 - C03 Exercises
Piscine/C03 - C04 Exercises
Piscine/C04
Other components
- Program User
Connections 10
- Program User → push_swap Entry: runs
M1/push_swap/main.c - push_swap Entry → Stack Setup: initializes
M1/push_swap/main.c - push_swap Entry → Algorithm Dispatch: dispatches
M1/push_swap/main.c - push_swap Entry → Benchmark Reporting: reports optionally
M1/push_swap/main.c - push_swap Entry → Stack Operations: clears stacks
M1/push_swap/main.c - Stack Setup → Argument Parsing: parses arguments
- Algorithm Dispatch → Sorting Strategies: selects strategy
- Sorting Strategies → Stack Operations: issues operations
- Reader Demo → Line Reader: reads lines
M1/get_next_line/main.c - ft_printf → Format Printers: formats values