McqMate

Q. |
## What is the worst case time complexity of inserting a node in a doubly linked list? |

A. | O(nlogn) |

B. | O(logn) |

C. | O(n) |

D. | O(1) |

Answer» C. O(n) |

1.3k

0

Do you find this helpful?

8

View all MCQs in

Data Structures (DS)No comments yet

- Which of the following statement is true?i) Using singly linked lists and circular list, it is not possible to traverse the list backwards.ii) To find the predecessor, it is required to traverse the list from the first node in case of singly linked 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?
- Minimum number of fields in each node of a doubly linked list is____
- A linked list whose last node points back to the list node instead of containing the null pointer________.
- A _________is a linked list which always contains a special node called the header node, at the beginning of the list.
- Worst space complexity of singly linked list is
- The worst case complexity of deleting any arbitrary node value element from heap is
- Which of the following is false about a doubly linked list?
- If in a linked list address of first node is 1020 then what will be the address of node at 5th position ?
- To insert a new node in linked list free node will be available in ___________.