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
What is abstract class in oops?
Is enum a class?
What is stream in oop?
What is polymorphism in oop example?
What is balance factor?
How do you achieve polymorphism?
What is pointer in oop?
Why we use classes in oop?
program for insertion ,deletion,sorting in double link list
What is difference between abstraction and encapsulation?
What is a class and object?
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?
What is oops and its features?
What is difference between data abstraction and encapsulation?
What is abstraction in oops with example?