data structure

Organized memory format

A data structure is a way of organizing and storing data in a computer so it can be accessed and modified efficiently.

Different structures suit different purposes: arrays hold ordered sequences, trees represent hierarchies, hash tables enable fast lookups.

Choosing the right data structure often determines whether code runs quickly or slowly.

We need a data structure that supports constant-time insertion.

organization

hierarchy

Ranked authority structure

chaining · adjacency · parent-child · node · edge · root · leaf · pointer · reference · key-value

types

array

Ordered collection or display

hash table · stack · queue · heap · binary tree · B-tree · set · map · dictionary · tuple

operations

traversal

Act of moving through

sorting · balancing · hashing · indexing · iteration · recursion · lookup · access · update · merge

properties

complexity

State of being complicated

immutability · ordering · uniqueness · capacity · density · sparsity · depth · height · degree · cardinality

applications

database

Organized digital information collection

file system · compiler · parser · router · scheduler · garbage collection · autocomplete · spell checker

Categories
Opposites
organization vs. chaos

data structureraw data

Unanalyzed collected information

data dump · blob · flat file · raw input · entropy

abstraction vs. concreteness

data structureprimitive

In earliest form

literal · scalar · machine code · binary data

structured vs. unstructured data

data structureblob

Shapeless viscous drop

plain text · flat file · raw input · NoSQL

Family

data, structure, infrastructure, structured, restructure, unstructured, restructuring, substructure, restructured

Familiarity
Top 200,000
Profile
Used worldwide · Timeless · Abstract · Rated G