Data Structure Er. Inderjeet Bal
Data Structure Er. Inderjeet Bal
Data Structure Er. Inderjeet Bal
STRUCTURE
1. Array
2. Stack
3. Queue
4. Linked List
ARRAY
ONE-DIMENSIONAL ARRAYS
element 3
Start
here
1D ARRAY INITIALIZATION
A B C
Head
dat pointe
a r
WHAT IS A STACK?
Operations
MakeEmpty
Boolean IsEmpty
Boolean IsFull
Push (ItemType newItem)
PUSH (ITEMTYPE NEWITEM)