answersLogoWhite

0


Best Answer

zsd

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which operation is perform more efficiently by doubly linked list than by single linked list?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does each node in a doubly linked list contain a link to the previous as well as the next node?

Yes, each node in a doubly linked list contain a link to the previous as well as the next node. That is the definition of the doubly linked list.


Convert single linked list to double linked list?

You copy a singly linked list into a doubly linked list by iterating over the singly linked list and, for each element, calling the doubly linked list insert function.


what are the differences between singly link list and doubly link list?

singly linked list stores only the address of next node while doubly linked list stores the address of previous node and next node and hence it is called doubly linked list. In singly linked list only forward traversing is possible while in doubly linked list forward and backward traversal is possible.


What is the difference between doubly linked list and circular linked list?

A doubly linked list allows traversal in both directions (forward and backward) by having each node point to both its next and previous nodes. A circular linked list is a type of linked list where the last node points back to the first node, forming a circular structure. This allows continuous traversal through the elements without a definitive end.


What operation is supported in constant time by the doubly linked list but not by the singly linked list?

examples:- delete this node (identified by a pointer)- insert a new node before this node- replace this node with another node


What the different between single and double linked list regarding space and operation?

Doubly linked lists require more memory than singly linked lists because each node in a doubly-linked list requires two pointers whereas each node in a singly-linked list only requires one pointer. In terms of operation, doubly-linked lists are only useful if you need bi-directional traversal of the the list. If you only need mono-directional traversal, a singly-linked list is more efficient. However, linked lists of either sort do not perform well when random access is essential. In this case a vector or an array will provide constant time access to any element, and memory consumption is further reduced since there is no longer a need for pointers. However, dynamic expansion of an array can be costly in terms of memory consumption and performance. In cases where random access and scalability are required, one or the other must be compromised.


How do you use linked list and file to perform different operation?

Your question defies an answer because it does not contain enough detail. A different operation than what.


Write a algorithm for doubly linked list in c?

sorry


What is best and worst case of time complexity and space complexity of insert and delete operation in singly linked list doubly linked list?

When inserting or extracting at the end of a singly-linked list or at the beginning or end of a doubly-linked list, the complexity is constant time. Inserting or extracting in the middle of a list has linear complexity, with best case O(1) when the insertion or extraction point is already known in advance and a worst case of O(n) when it is not.


What is meant by doubly linked list?

In C programming, a double linked-list refers to a linked data structure that contains a set of links that have been linked sequentially.


What are the the two ways in representing the stack?

one-dimensional array, and doubly-linked list.


What is difference between linked list and singly linked list?

Answersingly linked list has the node inserted only at one end. and the pointer corresponds to the next pointer.but in a doubly linked list, the node pointer points to the both previous and the next node.singly linked list has two nodesdoubly linked list has three nodesA doubly linked list makes sense when you need to traverse the list in both directions. You aren't able to do that with a singly linked list.