Singly Linked List
Singly Linked List
Singly Linked List
SBIT – 2F
SINGLY LINKED LIST
1. Head = 150H – XY
2. Tail = 120H – Z
3. Insert 250H XY after 150H
4. Insert 350H YZ before 250H after 150H
5. Insert 450H QP at the front
6. Insert 500H XU at the end
7. Insert 700H wx after 450H
8. Delete 150h
XY 120H Z NULL
150H 120H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 30H 27H NO NULL
35H 25H 26H 27H 30H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 30H 27H NO 45H
35H 25H 26H 27H 30H
NULL TV 30H
45H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 55H 27H ILY 30H
35H 25H 26H 27H 55H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 55H 27H ILY 28H
35H 25H 26H 27H 55H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 28H 27H VY 30H
35H 25H 26H 27H 28H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 28H 27H VY 19H
35H 25H 26H 27H 28H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 28H 27H VY 19H
35H 25H 26H 27H 28H
NULL RS 25H 35H ML 26H 25H PQ 27H 26H OP 28H 27H VY 19H
35H 25H 26H 27H 28H
NULL OQ 45H 49H TV 30H 45H NO 38H 30H MN 19H 38H QL 28H
49H 45H 30H 38H 19H
NULL RS 45H NULL ML 45H NULL PQ 45H NULL OP 45H NULL VY 45H
35H 25H 26H 27H 28H