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 |
Which one between if-else and switch is more efficient?
Write a corrected statement in c++ so that the statement will work properly. x =+ 7;
Implement a 2 dimensional array by one dimentional array
What is design pattern?
What is the standard template library (stl)?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
Write a program to get the value of sin (x) using a library function , when x is given in degrees.
What is the benefit of encapsulation?
What is a v-table?
Why do you use the namespace feature?
What is & in c++ function?
what is data encapsulation in C++?