Algorithms

Dynamic structure

A data structure that can grow or shrink while the program runs. One with a fixed size is called static.

Example

A 3-node linked list gets 1,000 more hooked on one at a time. A 10-slot array, on the other hand, is static.

Test yourself: Dynamic structure

Types of structures

An array can't grow in any way after it's created.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.