Assignment 3 - Linked List
Assignment 3 - Linked List
Batch *
Manasvi Kadu
23
Assignment 3
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 1/6
10/9/24, 7:21 PM Assignment 3: Linked List
A) NULL
D) Itself
B) 2
A) 1
D) 4
C) 3
Correct answer
C) 3
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 2/6
10/9/24, 7:21 PM Assignment 3: Linked List
In which of the following scenarios is a circular linked list more useful than a *
singly linked list?
Which of the following operations takes O(n) time on a singly linked list with *
n elements?
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 3/6
10/9/24, 7:21 PM Assignment 3: Linked List
B) Only data
D) Data, a reference to the previous node, and a reference to the next node
How can you differentiate between a singly linked list and a circular linked *
list by traversing the list?
A) The circular list will throw an error when it reaches the end.
B) The circular list will return to the first node after reaching the last node.
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 4/6
10/9/24, 7:21 PM Assignment 3: Linked List
This form was created inside Aldel Education Trust's. Report Abuse
Forms
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 5/6
10/9/24, 7:21 PM Assignment 3: Linked List
https://docs.google.com/forms/d/e/1FAIpQLSeEvB6oVZXt3zlQAdzmaVxyKfdLDq6FSVT-9pAhyPh3AFVYHw/viewscore?vc=0&c=0&w=1&flr=0&vi… 6/6