NotesM.Sc ITData Structures
PGCA1913

Data Structures Notes

Program:M.Sc IT
Semester:Semester 2
Credits:4
Units:4 Units

Subject Overview

Data Structures covers linear structures (stacks, queues, linked lists) and their applications in expression evaluation, non-linear structures (trees, heaps) with traversal algorithms, searching/hashing/sorting techniques, and graph representation, traversal and shortest-path algorithms including Kruskal's and Dijkstra's.

Read more

A 4-credit core theory paper.

Subject at a glance

4

Units

27

Topics

4

Credits

4

Infographics

Unit-wise Syllabus

4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Contiguous implementation of stacks
  • polish notations (infix/prefix/postfix conversion and evaluation)
  • linear and circular queue implementation
  • linked implementation of stacks and queues
  • singly/doubly/circular linked lists and their operations

Study guide

This unit covers stack implementations, polish notations and conversions, linear and circular queues, linked stacks and queues and singly, doubly and circular linked lists. Practise infix-to-postfix conversion.

Read Unit 1 notes
  • Tree definitions (height, depth, order, degree, parent-child relationships)
  • binary trees and theorems
  • complete and almost-complete binary trees
  • tree traversals (preorder, inorder, postorder) and recursive/non-recursive implementations
  • expression trees
  • threaded binary trees
  • forests
  • heap definition

Study guide

You study tree terminology, binary trees and theorems, complete trees, traversals (recursive and non-recursive), expression trees, threaded binary trees, forests and heaps. Practise traversals and expression tree construction.

Read Unit 2 notes
  • Sequential/binary/indexed sequential/interpolation search
  • hashing basics
  • collision resolution and chaining
  • internal sorting — bubble
  • selection
  • insertion
  • quick
  • merge (linked and contiguous)
  • shell
  • heap and tree sort

Study guide

You study sequential, binary, indexed sequential and interpolation search, hashing, collision resolution and chaining and internal sorts: bubble, selection, insertion, quick, merge, shell, heap and tree sort. Compare the complexity of each sort.

Read Unit 3 notes
  • Graph representations (adjacency matrix, adjacency list, adjacency multilist)
  • depth-first and breadth-first traversal
  • minimum spanning tree
  • shortest path algorithms — Kruskal's and Dijkstra's

Study guide

You study graph representations, depth-first and breadth-first traversal, minimum spanning trees and shortest paths with Kruskal's and Dijkstra's algorithms. Trace both algorithms on a small graph.

Read Unit 4 notes

Why Data Structures Matters

Data structures are the main subject of coding interviews at technology companies and the foundation of efficient software.

How to Prepare for Data Structures

  • Implement each structure and algorithm from scratch.
  • Memorise the time complexity table for common operations.
  • Solve interview-style problems each week.

Data Structures: Frequently Asked Questions

What is hashing?

Hashing maps keys to positions in a table using a hash function, allowing very fast average-time search and insertion.

Planning your M.Sc IT in Ludhiana? Study it at SBS.

These notes follow the PTU syllabus taught in the 2-year M.Sc IT at SBS College, Ludhiana. See the course details, eligibility and scholarships.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Data Structures.