Professional Documents
Culture Documents
PRACTICAL TEST Module1
PRACTICAL TEST Module1
Data Structures
and Algorithms
Analysis
1T.23.24
Practical Test –
Pointers
Pointers
https://erlerobotics.gitbooks.io/erle-robotics-cpp
gitbook/content/pointers/exercises_pointers.html
Data Structures
and Algorithms
Analysis
1T.23.24
Practical Test –
Singly Linked List
SINGLY LINKED LIST
Inserting a data in a Singly Linked List
head 75 • 80 • 85 •
Given the ordered singly linked list below, insert the
following data one at a time. (use the new list when
inserting the next data)
1. 83
2. 60
3. 90
SINGLY LINKED LIST
1T.23.24
Practical Test –
Doubly Linked List
DOUBLY LINKED LIST
Inserting a data in a Doubly Linked List
Head • 75 • • 80 • • 90 • Tail
Given the ordered doubly linked list below, insert the following
data one at a time. (use the new list when inserting the next data)
1. 83
2. 60
3. 95
DOUBLY LINKED LIST
Deleting a data in a Doubly Linked List
Head • 75 • • 80 • • 90 • Tail
Given the ordered doubly linked list below, delete the following
data one at a time. (use the current list when deleting the next
data)
1. 75
2. 80
3. 90
Data Structures
and Algorithms
Analysis
1T.23.24
Practical Test –
Circular Linked List
CIRCULAR LINKED LIST
Inserting a data in a Circular Linked List
Head 70 80 90 Tail
Given the ordered circular linked list below, insert the following data
one at a time. (use the new list when inserting the next data)
1. 83
2. 60
3. 95
CIRCULAR LINKED LIST
Deleting a data in a Circular Linked List
Head 70 80 90 Tail
Given the ordered circular linked list below, delete the following
data one at a time. (use the current list when deleting the next
data)
1. 70
2. 80
3. 90
Merci!
Any questions?
You may send your question at MS Teams
asdelosantos@mcl.edu.ph