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 |
Do vectors start at 0 c++?
How to construct virtual constructor
6 Answers CIStems Software, Symphony,
Explain what are single and multiple inheritances in c++?
What's the best free c++ profiler for windows?
What is the extraction operator and what does it do?
What is lazy initialization in c++?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
What is the advantage of an external iterator.
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What are the characteristics of friend functions?
What are put and get pointers?
Which is best c++ or java?