Interactive visualizer for Stack, Queue, and Linked List with a clean dark UI.
git clone https://github.com/yourusername/struct-simulator.git
cd struct-simulator
npm install
npm start
# open http://localhost:3000Alternative: open public/index.html directly for a static preview.
- Stack: push, pop, peek, clear with live stats
- Queue: enqueue, dequeue, front, clear with live stats
- Linked List: insert head/tail/position, delete head/tail, clear
- Modern responsive UI, dark theme, keyboard-friendly
struct-simulator/
├── index.js # Express server
├── public/
│ ├── index.html
│ ├── style.css
│ └── script.js
└── assets/ # Screenshots
- Enter a value, click the action button for the chosen structure
- Stack: Enter + Push, Pop, Peek, Clear
- Queue: Enter + Enqueue, Dequeue, Front, Clear
- Linked List: Enter + Insert Head/Tail/Pos, Delete Head/Tail, Clear
- HTML, CSS (custom), JavaScript (ES6+)
- Node.js + Express for local serving
MIT License. See LICENSE for details.


