Course objectives
- To provide the knowledge of basic data structures and their implementations.
- To understand importance of data structures in context of writing efficient programs.
- To develop skills to apply appropriate data structures in problem solving.
Unit I
Introduction to data structures, criteria for algorithm evaluation, arrays, ordered list, various operations in ordered list, representation and manipulation of sparse matrices, representation of multidimensional arrays. Introduction to linked list, algorithm for creation, insertion, deletion and reversal of a linked list.
Unit II
Concepts of algorithm, asymptotic complexity, examples of analysis use of recurrence relation in analysis of algorithms, removal of recursion, heap and heap sort, disjoint set structure. Divide and conquer technique, analysis and design of algorithms base on this technique for binary search, merge sort, quick sort, selection problem, matrix multiplication.
Unit III
Stacks, procedures for insertion and deletion in a stack, applications of stack, queues, differences between stack and queues, insertion and deletion in a queue, applications of queues, circular queues, Introduction to trees, representation of trees in memory, concept of binary tree, operations on binary trees, introduction to spanning trees and cut sets, minimum spanning trees, and shortest paths, simple application of trees. Graphs, Applications of graphs, Heap.
Unit IV
Study of greedy strategy, solutions based on greedy strategy for knapsack problem, minimum spanning trees, scheduling problem, shortest paths optimal merge patterns. Concept of dynamic programming and problems based on this approach such as 0/1 knapsack problem, Depth-first search, breadth first search, Backtracking concept and its examples likes 8 queen's problem, traveling sales-person problem.
Unit V
Binary search and study of other search techniques with their time complexity and memory requirements, Binary search trees, height balanced trees, AVL trees, 2-3 trees, B-trees hashing. Introduction to lower-bound theory introduction to NP-Complete and NP Hard problems, examples of NP complete problem like Hamiltonian path and circuits, eulerian paths and circuits etc.
Course outcomes
After completing the course student should be able to:
- Understand the basic concepts of data structures and algorithms.
- Understand basic concepts about stacks, queues, linked lists, trees and graphs and their implementation.
- Learn to use these to efficiently organize the data for improving performance of the system.
- Write algorithms for solving problems with the help of fundamental data Structures.
Text books
- Fundamentals of Data Structures By Ellis Horowitz and Sartaj Sahani, Galgotia, 9th Edition 1996.
- Data Structures using C By Tanenbaum, Langsam, Augsentein, PHI, 1997.
- Data Structures by Lipstchutz, Schaum Series.
- Fundamental of Data Structures and Algorithms by A. Droviski, Vikas Publication. New Delhi.