Data Structures
This package contains MATALB class-based implementations of the following common data structures:
1) Arrays
2) Binary Search Trees
3) Hash Tables
4) Heaps
5) Lists
6) Queues
7) Red Black Trees
8) Stacks
The code is written in such a way that it can be easily translated into other languages. A majority of the methods are taken from the canonical algorithms text:
Introduction to Algorithms
http://mitpress.mit.edu/books/introduction-algorithms
Note: All classes inherit pass-by-reference behavior via MATLAB's handle superclass
Cite As
Brian Moore (2024). Data Structures (https://www.mathworks.com/matlabcentral/fileexchange/45123-data-structures), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Data Structures/Arrays/
Data Structures/Binary Search Trees/
Data Structures/Hash Tables/
Data Structures/Heaps/
Data Structures/Lists/
Data Structures/Queues/
Data Structures/Red Black Trees/
Data Structures/Stacks/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |