Virtual Memory
Virtual Memory
USING “C”
Lecture 1
Today’s Agenda
• Prerequisites Of The Course
• Course Outline
Prerequisites
• To learn and implement codes in Data Structures we need:
• Topics Of C :
• Functions
• Pointers
• Structures
What Is Data Structure ?
• A way of storing and organising the data in computer’s memory.
• As you can observe , since the food items are now organized , it
seems to be very easy for us to find our items.
What Is Data Structure ?
• So , what we have done in the second way ?
• We have simply taken fruits and vegetables from the first messy
basket and organized them in a proper way .
What Is Data Structure ?
• The same concept applies to data structures .
• The data elements are present at different levels and there are
different paths for an element to reach the other element.
• For example:
• int [ ] arr={6,2,11,8,5};
• int [ ] brr={7,1,15};
• For the above 2 arrays FALSE should be returned
• int [ ] arr={9,4,12,6,5,14};
• int [ ] brr={3,14,8,12};
• For the above 2 arrays TRUE should be returned
Course Outline
STACK
Introduction To Stack
Applications Of Stack
Evaluating INFIX
Course Outline
QUEUE
Introduction To Queue
Linear Queue
Circular Queue
Priority Queue
Applications Of Queue
Course Outline
LINKED LIST
Introduction To Linked List
Implementation
Implementation
Implementation
Creating A BST
Course Outline
TREE OPERATIONS
Introduction To Tree Traversal
Introduction To Heap
Graph Terminologies
Spanning Tree
Course Outline
RECURSION
Introduction To Recursion
Examples Of Recursion
Types Of Recursion
Sorting
• 7314853128
• 7870554215
• 9826686245