II-I DS Lab-EEE
II-I DS Lab-EEE
L T P C
0 1 2 2
DATA STRUCTURES LAB
EEE
Course Objectives:
CO1: Explain the role of data structures in organizing and accessing data.
CO2: Design, implement, and apply linked lists for dynamic data storage.
CO3: Develop programs using stacks to handle recursive algorithms, manage program states and
solve related problems.
CO4: Apply queue-based algorithms for efficient task scheduling and breadth-first
traversal in graphs and distinguish between deques and priority queues and apply
them appropriately to solve data management challenges.
CO5: Implementing trees and binary search trees and utilizing these data structures effectively.
Mapping of Course Outcomes with Program Outcomes and Program Specific Outcomes:
Course
Outcomes PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
(COs)
CO1 3 2 3 2
CO2 3 3 3 2 3 3 3 2
CO3 3 3 2 3 2 3 3 2
CO4 3 3 3 2 3 3 3 3 3
CO5 3 3 2 3 3 3 2
SYLLABUS
UNIT I
Sample experiments:
UNIT II
Linked Lists: Singly linked lists: representation and operations, doubly linked lists and
circular linked lists, Comparing arrays and linked lists, Applications of linked lists.
Sample experiments:
Stacks: Introduction to stacks: properties and operations, implementing stacks using arrays
and linked lists, Applications of stacks in expression evaluation, backtracking, reversing list
etc.
Sample experiments:
1. Implement stack operations using
a. Arrays b. Linked list
2. Convert given infix expression into post fix expression using stacks.
3. Evaluate given post fix expression using stack.
4. Write a program to reverse given linked list using stack.
UNIT IV
Sample experiments:
Trees: Introduction to Trees, Binary trees and traversals, Binary Search Tree – Insertion,
Deletion & Traversal
Sample experiments:
2. Write program to create binary search tree for given list of integers. Perform in-order traversal
of the tree. Implement insertion and deletion operation
Textbooks:
1. Data Structures and algorithm analysis in C, Mark Allen Weiss, Pearson, 2nd Edition.
2. Fundamentals of data structures in C, Ellis Horowitz, Sartaj Sahni, Susan Anderson-
Freed, Silicon Press, 2008
Reference Books:
1. Algorithms and Data Structures: The Basic Toolbox by Kurt Mehlhorn and Peter
Sanders.
2. C Data Structures and Algorithms by Alfred V. Aho, Jeffrey D. Ullman, and John E.
Hopcroft.
3. Problem Solving with Algorithms and Data Structures by Brad Miller and David
Ranum.
4. Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson, Ronald L.
Rivest, and Clifford Stein.
5. Algorithms in C, Parts 1-5 (Bundle): Fundamentals, Data Structures, Sorting,
Searching, and Graph Algorithms" by Robert Sedgewick.