hassan_
January 5th, 2009, 10:18 AM
Hi guys I'm just revising for my data structure and algorithms exam and got stuck on a few questions can someone help me with this one please:
Of the following what statement is NOT true about Singly Linked Lists:
1. Traversing the list backwards is not efficiently possible.
2. Removing the next elemet of a given node is possible efficiently.
3. Finding any list element is possible in constant time.
4. Singly linked list needs less memory than doubly linked list with the same contents.
And why is this not true about Singly linked lists?
Thanks.
Has.
Of the following what statement is NOT true about Singly Linked Lists:
1. Traversing the list backwards is not efficiently possible.
2. Removing the next elemet of a given node is possible efficiently.
3. Finding any list element is possible in constant time.
4. Singly linked list needs less memory than doubly linked list with the same contents.
And why is this not true about Singly linked lists?
Thanks.
Has.