Data Structure

noun

say it: “DAY-tuh STRUK-cher” /ˈdeɪtə ˈstrʌktʃər/

A way of organizing data in a program so the jobs done most often, such as finding or adding, are fast.

What is a data structure?

A data structure is a way of organizing data in a program so the jobs you do most often (adding, finding, removing, listing) are fast. The same lost-and-found items can sit in one jumbled box, on shelves labeled by kind, or in numbered cubbies: each way makes a different job easy. Lists, stacks, queues, hash tables, trees and graphs are all data structures.

In a sentence

  • “A music app keeps its songs in a data structure that makes searching fast.”

Level: Novice · More Data Structures terms at this level

Updated