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
Which method cannot be overridden?
What is object in oop with example?
What is data binding in oops?
What is polymorphism programming?
#include
What is overriding in oops?
Why do we need polymorphism in c#?
what are the ways in which a constructors can be called?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Prepare me a program for the animation of train
Get me an image implementation program.
How do you achieve polymorphism?
How to call a non virtual function in the derived class by using base class pointer
Why is polymorphism needed?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction