McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Computer Science Engineering (CSE)
→
Data Structure and Algorithms (DSA)
→
Accessing time of nth node in a linked l...
Q.
Accessing time of nth node in a linked list is______
A.
0(n)
B.
0(1)
C.
0(n2)
D.
0(log n)
Answer» A. 0(n)
3.9k
0
Do you find this helpful?
31
View all MCQs in
Data Structure and Algorithms (DSA)
Discussion
No comments yet
Login to comment
Related MCQs
Consider an implementation of unsorted singly linked list. Suppose it has its representation with a head pointer only. Given the representation, which of the following operation can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the last node of the linked list
Consider an implementation of unsorted doubly linked list. Suppose it has its representation with a head pointer and tail pointer. Given the representation, which of the following operation can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the end node of the linked list
Consider an implementation of unsorted singly linked list. Suppose it has its representation with a head and tail pointer. Given the representation, which of the following operation can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the last node of the linked lis
A variation of linked list is circular linked list, in which the last node in the list points to first node of the list. One problem with this type of list is?
Consider the following definition in c programming language struct node { int data; struct node * next; } typedef struct node NODE; NODE *ptr; Which of the following c code is used to create new node?
A ________ linked list is a linked list which always contains a special node, called the header node.
A variant of linked list in which last node of the list points to the first node of the list is?
A ________ linked list is a linked list structure in which each node has a pointer to both its successor and predecessor.
In a ________ linked list, the last node's link field points to the first node of the list.
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?