Difference between linked list and array?

Answers were Sorted based on User's Feedback



Difference between linked list and array?..

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

Difference between linked list and array?..

Answer / truong nguyen

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

Difference between linked list and array?..

Answer / nisha

linked list can be implemented dynamically

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is searching?

0 Answers  


How do you declare A pointer to a function which receives nothing and returns nothing

0 Answers  


Do class declarations end with a semicolon?

0 Answers  


Have you used MSVC? What do you think of it?

2 Answers   Google,


Which programming language is best?

0 Answers  






What is helper in c++?

0 Answers  


What does int * mean in c++?

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


What is flush programming?

0 Answers  


When is a template better solution than a base class??

2 Answers   emc2,


What is the Difference between "C structure" and "C++ structure"?

12 Answers  


How do you clear a buffer in c++?

0 Answers  


Categories