B.TECH CSE & ALLIED BRANCHES · I YEAR, II SEMESTER · AR25
Data structures, step by step.
Explained through 12 complete C implementations.
Trace what each pointer, index, stack or queue stores. Then follow the flowchart, read the program and run a sample. Array and linked ADT implementations are separate pages so you can compare them.
ADT describes behaviour and operations; it is not a synonym for a linked list. Tree input describes a binary tree directly, while the BST experiment imposes ordered keys. Graph examples use an adjacency matrix and explain its actual O(V²) cost.
12 exercises
No solutions match. Try another word.
EXPERIMENT 01
Singly linked list
Creation, insertion, deletion and traversal.
EXPERIMENT 02
Doubly linked list
Creation, insertion, deletion and forward traversal; reverse traversal is also demonstrated.
EXPERIMENT 03
Circular linked list
Creation, insertion, deletion and traversal on a circular singly linked list.
EXPERIMENT 04
Stack operations
Arrays and an ADT interface implemented with linked nodes.
EXPERIMENT 05
Queue operations
A circular array and an ADT interface implemented with linked nodes.
EXPERIMENT 06
Tree traversals
Preorder, inorder and postorder: recursive and non-recursive.
EXPERIMENT 07
Binary search tree
Insertion, search, deletion and inorder traversal.
EXPERIMENT 08
Graph traversals
DFS and BFS on an undirected graph, including disconnected components.
Each page includes a command table and exact sample input. Menu-driven structures accept operation numbers but do not print repeated menu prompts. Enter all sample lines into standard input; finish list, stack, queue and BST sessions with 0. Tree and graph programs use the stated single-input format.