Topic Wise Lesson Plane
Classification of Data Structure
.
Classification of Data Structures
Data structures are broadly classified into two main types:
1️⃣ Primitive Data Structures
These are basic data types provided by programming languages.
They store single values.
Examples:
-
Integer (
int) -
Float (
float) -
Character (
char) -
Boolean (
bool) -
Pointer
2️⃣ Non-Primitive Data Structures
These store multiple values and are more complex.
Non-primitive data structures are further divided into:
🔹 A. Linear Data Structures
Data elements are arranged in a sequential (linear) order.
Examples:
-
Array
-
Linked List
-
Stack
-
Queue
-
Deque
-
String
🔹 B. Non-Linear Data Structures
Data elements are arranged in a hierarchical or graph-like structure.
Examples:
-
Tree
-
Graph
-
Heap
-
Trie