Build your algorithmic thinking foundation
Section 1 of 5
Learn about different types of data structures, their classifications, and the fundamental operations that can be performed on them. Understand how to choose the right structure for your needs.
A data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. It represents the logical relationship existing between individual elements of data and considers not only the elements stored but also their relationship to each other.
Data Structures: Arrays, Linked Lists
Key Issues:
Elements in sequence with unique predecessor/successor
Elements not in sequence, hierarchical relationships
Fixed size during compilation
Size can change during execution
Must access elements in order
Can directly access any element
All elements of same type
Elements of different types
Make/Create new data structure
Adding new record to structure
Accessing each record exactly once
Find location of record with specific key
Removing existing record from structure
Arranging data in specific order
Combining sorted records into single set