tad-rust
A project for learning Abstract Data Types (ADTs) in Rust. Heavily inspired by Java's implementations, so don't expect idiomatic Rust.
Structures
- Linked List
- Stack
- Queue
- Heap
- Binary Tree
- HashMap
- Graph
- Binary Search Tree (BST)
- Prefix Tree
Features
- Debug
- Custom errors with thiserror
- IntoIterator (for)
- FromIterator (for with collect)
- Add get_mut/peek_mut to the structures
- Make a stack, linkedlist and queue from a Vec! with ::from_vec
- Documentation
- Example folder with demo