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 this pointer in oop?
Get me an image implementation program.
What is balance factor?
what is the sylabus for priliminaries?
What are classes oop?
What does <> mean pseudocode?
Why do we use oops?
Can we create object of interface?
What is polymorphism oop?
What is constructor overloading in oop?
What is encapsulation process?
What is overriding in oops?
What are the types of abstraction?
What is the point of polymorphism?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.