engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Programming and Data Structure Linked List
Consider a singly linked list of the form where F is a pointer to the first element in the linked list and L is the pointer to the last element in the list. The time of which of the following operations depends on the length of the list?
1
Delete the last element of the list
2
Delete the first element of the list
3
Add an element after the last element of the list t
4
Interchange the first two elements of the list