Data structures in Tikz

less than 1 minute read

These figures were create to support one of my lectures, however, I am far from being a Tikz expert, surely there are better ways to use Tikz. None of these examples was created from scratch.

Vector (1-D array)

Matrix (2-D array)

Stack

Queue

Linked list

This figure was taken and modified from StackExhange.

Hash table (associative array)

Tree

This figure was taken and modified from StackExhange.

Graph

This figure was taken and modified from StackExhange.

Updated: