Difference between linked list and array?
Answers were Sorted based on User's Feedback
Answer / shyamu sharma
Linked List is dynamic, Array is static.
Searching : Fast in Linked List, Slow in Array.
Array is fixed length, Linked List Unlimited till Memory end.
Is This Answer Correct ? | 12 Yes | 1 No |
Memory address of items in the array are continues but they
are not continues in the linked list. So you will easily to
access one item in an array, but not for a linked list.
However, you can easily insert or remove one item into/from
a linked list.
Is This Answer Correct ? | 8 Yes | 1 No |
What are advantages of c++?
Explain friend class?
What is class syntax c++?
What do you mean by delegate? Can a user retain delegates?
How many static variables are created if you put one static member into a template class definition?
What is #include ctype h in c++?
Which is best ide for c++?
in C++ , the word plus plus who found this?
In what situations do you have to use initialization list rather than assignment in constructors?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What causes a runtime error c++?
Write about the retrieval of n number of objects during the process of delete[]p?