Write The Advantages Of Memory Efficient Doubly Linked List
Answers
Answered by
6
Answer:
please mark me as a brainlist
Explanation:
Advantage: We save a lot of memory space. For each node we are saving one pointer, if there are n nodes then our memory consumption is reduced by O(n). If we want to reverse the doubly linked list (pre will become next & vice-versa) it is O(n) operation (pointers need to be changed for each node).
Answered by
0
Answer:
We save a lot of memory space. For each node we are saving one pointer, if there are n nodes then our memory consumption is reduced by O(n). If we want to reverse the doubly linked list (pre will become next & vice-versa) it is O(n) operation (pointers need to be changed for each node).
plz mark me as brainliest plz
Similar questions