NotesB.Sc ITData Structures
BSIT302/BSBC302

Data Structures Notes

Program:B.Sc IT
Semester:Semester 3
Credits:4
Units:4 Units

Subject Overview

Data Structures builds internal data management skills — algorithm complexity and searching/sorting techniques, stacks and queues with recursion, linked lists and dynamic storage management, and trees and their traversal applications.

Read more

A 4-credit core theory paper.

Subject at a glance

4

Units

23

Topics

4

Credits

4

Infographics

Unit-wise Syllabus

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

  • Basic concept of data
  • problem analysis
  • algorithm complexity
  • Big O notation
  • time-space trade-off
  • types of data structures (arrays, records, pointers, stack, queue, trees, linked list)
  • linear and binary search
  • bubble/insertion/selection sort

Study guide

This unit introduces data structures, problem analysis, algorithm complexity, Big O notation, the time-space trade-off, the main types of structure, linear and binary search and bubble, insertion and selection sort. Compute the complexity of each sorting algorithm.

Read Unit 1 notes
  • Basics of stacks and queues
  • recursion
  • Polish notation
  • circular queues
  • priority queues

Study guide

You study stacks and queues, recursion, Polish notation, circular queues and priority queues. Practise converting infix to postfix expressions.

Read Unit 2 notes
  • Single linked list
  • circular linked list
  • doubly linked list
  • dynamic storage management
  • generalized list
  • garbage collection

Study guide

You study singly, circular and doubly linked lists, dynamic storage management, generalised lists and garbage collection. Draw nodes and pointers for every operation.

Read Unit 3 notes
  • Definition and concepts
  • basic trees
  • binary tree representations
  • binary tree traversals and applications of trees

Study guide

You study trees: definitions, binary tree representations, traversals and applications. Practise the three traversals on a sample tree.

Read Unit 4 notes

Why Data Structures Matters

Data structures are the single most important topic in coding interviews and underlie databases, operating systems and every efficient program.

How to Prepare for Data Structures

  • Implement each structure yourself at least once.
  • Draw diagrams before coding any pointer operation.
  • Memorise the time complexity of every operation and sort.

Data Structures: Frequently Asked Questions

What is Big O notation?

Big O notation describes how an algorithm's running time or space grows with the size of the input, focusing on the worst case.

What is the difference between a linked list and an array?

An array has fixed-size contiguous storage with fast indexed access, while a linked list uses nodes connected by pointers, making insertion and deletion easy.

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.