Name an advantage of array over linked list?
Answer Posted / gurpreet kaur
In arrays memory requirement is less as a refrence is not
required whereas memory for the data as well as for the
pointer is required and hence the overhead.
Arrays allow random access, any element can be accessed
using the subscript whereas linked lists allow sequential
access, accessing of any element requires processing of the
list from the beginning upto the element.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
What does oop mean in snapchat?
What is interface in oop?
What is a class and object?
What are the 5 oop principles?
Can abstract class have normal methods?
What is oops with example?
What is persistence in oop?
What does no cap mean?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why do we use polymorphism?
What is abstraction in oops?
What is oops and why we use oops?
What is abstraction with example?
Whats is abstraction in oops?
What is polymorphism programming?