Name That Structure
This linear data structure follows the First-In-First-Out (FIFO) principle.
What is a queue?
This structure allows insertion and deletion from only one end and is often used for undo features.
What is a stack?
This non-linear hierarchical structure has nodes with at most two children, typically called left and right.
What is a binary tree?
This structure uses keys to store and retrieve values efficiently in average constant time.
What is a hash table?
This structure is optimal for implementing a priority queue and supports efficient insertion and deletion of the minimum (or maximum) element.
What is a heap?