Tuesday, July 14, 2009

Why do we go for linked list in c++ and wat is the difference between singly linked list and dobly linked list

linked lists makes the memory mgmt more efficient when the size is not known. .insertion and deletion is made easier. .in singly linked list u can traverse in only one direction whereas in dll traversel is possible in both directions. .which further eases insertion and deletion coz of backward pointer. .


jj


No comments:

Post a Comment