Ref: 2 Rename folder to follow previous articles

This commit is contained in:
2026-06-17 18:23:06 -04:00
parent 5f7e37b79b
commit 463614284f
20 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Reverse Linked List Example
This directory contains a small standalone C++ example for the classic three-pointer linked list reversal algorithm.
## Build
```bash
g++ -std=c++17 -Wall -Wextra -pedantic main.cpp -o reverse_linked_list
```
## Run
```bash
./reverse_linked_list
```
## Expected Output
```text
Original list:
1 -> 2 -> 3 -> 4 -> 5 -> null
Reversed list:
5 -> 4 -> 3 -> 2 -> 1 -> null
```
## Memory walkthrough
see memory_walkthrough.md