Data Structures

MATLAB implementations of common data structures, including trees, hash tables, heaps, and lists

You are now following this Submission

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 (2026). Data Structures (https://nl.mathworks.com/matlabcentral/fileexchange/45123-data-structures), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0