Skip to content
playdsa
Preferences

Make yourself comfortable.

Saved on this browser. Your device’s reduced-motion preference is always respected.

Theme
Advanced settings

What Is a Data Structure?

Learn
Play
Prove
Lesson 1 of 5

Data structure atlas

One goal, several useful shapes

Linear structures

Values follow a sequence, so position and order matter.

Associative structures

A key names a value, so lookup does not depend on position.

Connected structures

Links express hierarchy, routes, dependencies, or networks.

Linear structures

Array

Fast indexed access and compact ordered data.

Core operations

read by indexupdatescan
Memory sketch[A][B][C][D]

A data structure is a deliberate way to organize values and the relationships between them. The shape is not decoration: it decides which operations become easy, fast, and safe.

Your call · What makes one data structure different from another?

Help shape PlayDSA

Something confusing, broken, or missing? Leave a quick note without leaving your lesson.

Please leave out passwords, payment details and other private information.

Page included: /

Sign in to save feedback here, or send it with your email app. Your draft stays here while you sign in.

Open email instead