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 is object in oops?
What is the difference between procedural programming and oops?
What is a null tree?
How is polymorphism achieved?
What is the purpose of polymorphism?
What are the 4 main oop principles?
Why oops is important?
What is abstraction in oop with example?
Can you name some types of inheritance?
What is basic concept of oop?
What is difference between pop and oop?
What are the benefits of polymorphism?
What are the components of marker interface?
What is the point of oop?
Which is better struts or spring?