Name an advantage of linked list over array?

Answer Posted / satish kondapalli

computer memory is divided into blocks.each work use these
blocks in non-contigious manner.but array elements are
stored in continous memory allocation.this will adversely
affect unuse of the memory blocks.array searches for bigger
blocks it needed,so that many small nlocks of memory is
unused.the main advantage of linkedlist is it can use
non-continuous memory blocks,because of it has the relation
between the nodes,and this is main merit over array.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in oops?

602


Is enum a class?

607


What is stream in oop?

841


What is polymorphism in oop example?

518


What is balance factor?

589






How do you achieve polymorphism?

618


What is pointer in oop?

541


Why we use classes in oop?

585


program for insertion ,deletion,sorting in double link list

2284


What is difference between abstraction and encapsulation?

594


What is a class and object?

600


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2763


What is oops and its features?

592


What is difference between data abstraction and encapsulation?

619


What is abstraction in oops with example?

778