**Dear Friends,**

**DATA STRUCTURES**, the question may hover in your mind that what is Data Structures? Let me answer this question, Data Structures are the collection of techniques to

**Store, Retrieve, and Update Data.**

The importance of a technique is, if we store data according to some technique than we know the arrangement of data items in storage and we can apply some scheme (Algorithm) to access that data. Following are the techniques (Data Structures)

(1) Array

(2) Linked List

(3) Stack

(4) Queue

(5) Tree

(6) Graph

In **Array**, data are arranged in sequential manner in continuous memory locations, each element is accessed by a unique index number, and indices are stared from 0 or any other number, and are assigned in sequential manner.

In **Linked list**, there is no compulsion for the Operating system to store data elements in continuous memory locations. In it, each data element is stored in a node, a node usually has two parts, first data part and other is link part which stores the address of next element.

**Stack** is a Last in First out data structure, in which last inserted element comes out first. In it, addition of element is called PUSH and deletion of an element is called POP.

**Queue** is a First in First out data structure, in which, the element which was added first comes out first out of the Queue. A Queue has two ends, FRONT and REAR.

**Tree** is a hierarchical data structure, in which elements are arranged in hierarchies (levels), tree has parent child relationship among its elements.

Tree is a special case of a **Graph** data structure, in Graph Cycles are found among elements and there is no hierarchy among elements. Some operations on data structures

(a) Traversing

(b) Insertion

(c ) Deletion

(d) Searching

(e) Sorting

(f) Merging

Each data structure has its own algorithm for implementation of these operations

Following study material for SRM University students

[Updated on October 15, 2018]

**Curriculum for 2015 regulation**

**Registration form for SRM Modinagar**

**Syllabus of Data Structures (15CS201J)**

**Data Structures (15CS201J) Question Bank for Unit 1, 2, and 3**

**Lecture Notes of Data Structures (15CS201J)**

**Unit 1**

(a) **Lecture notes**

(b) **Assignment**

**Unit 2**

(a) **Lecture notes**

(b) **Assignment**

**Unit 3**

(b) **Assignment**

**Unit 4**

(a) **Lecture notes**

(b) **AVL Tree ppt**

(d) **Splay Tree ppt**

**Unit 5**

**(a) Graph Terminology, BFS, and DFS**

**(b) Topological Sort**

**(d) Spanning Tree**

**(e) Dijkstra - Single Source Shortest Path**

**(f) Hashing**

**Lab Practicals**

**(a) University Practical File Front Pages**

**(b) Implementation of MST using Krushkal**

**(c) Implementation of MST using Prim's**

**(d) Implementation of Dijkastra's Algorithm for Finding Shortest Path**