Vidyalelo
Data Structure · Q129

Introduction to Data Structures

Programming · Data Structure · question 129

Q129

You are given pointers to first and last nodes of a singly linked list, which of the following operations are dependent on the length of the linked list?

A.
Delete the first element
B.
Insert a new element as a first element
C.
Delete the last element of the list
Answer
D.
Add a new element at the end of the list

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board