You are given pointers to first and last nodes of a singly linked list, which…
PYQ TCS NQT 2024
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
- D.
Add a new element at the end of the list
Attempted by 205 students.
Sign up free to check your answer
Sign up freeLoading lesson…

