Name an advantage of array over linked list?
Answer Posted / shruthi
1. Arrays have continguous memory allocation which makes it
easy to access elements inbetween.
2. As memory is allocated during compilation makes the
program faster
3. Fixed in size so if we are aware of the exact size of
datas then there can be no memory wastage which is also an
advantage linked list has.
4. Insertion and deletion at the end of the array is easy
but not inbetween.
5. Accessing data is easy a[2] etc
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are the 3 pillars of oop?
what's the basic's in dot net
i got a backdoor offer in process global,Bangalore..Can i work with it?
what is the sylabus for priliminaries?
Why do we use polymorphism?
what are the different types of qualifier in java?
What are the components of marker interface?
Write a c++ program to display pass and fail for three student using static member function
What is data binding in oops?
Which method cannot be overridden?
to find out the minimum of two integer number of two different classes using friend function
What is the difference between a mixin and inheritance?
Which language is not a true object oriented programming language?
What is constructor overloading in oop?
What is the difference between procedural programming and oops?