Question

What do you think is the most important difference between linked list and arrays. Typed preference.

What do you think is the most important difference between linked list and arrays. Typed preference.

Homework Answers

Answer #1

Arrays:

In array we have indexes.

   In array we can move randomly.

   In array data is stored in contiguous memory.

   Array cannot be shrink or expanded.

Array memory is allocated on stack

Linked List:

   Linked List consist of nodes.

   We can easily increase or decrease the size of linked list.

   We cannot access linked list randomly.

   Size of linked list can grow at run time

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW

PLEASE GIVE A THUMBS UP

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Can you explain the key differences between Array and Linked List? Typed preference.
Can you explain the key differences between Array and Linked List? Typed preference.
If linked lists are so much better than arrays, why do you think arrays are used...
If linked lists are so much better than arrays, why do you think arrays are used at all? Briefly explain your thought in 1 paragraph.
Briefly distinguish between Arrays and Linked List. Write an algorithm for each as well as develop...
Briefly distinguish between Arrays and Linked List. Write an algorithm for each as well as develop computer programs that implement each of them. Show the results of your output including your code.
what do you think is the most important stage of respiration? Explain.
what do you think is the most important stage of respiration? Explain.
What do you think is most important about the history of economic globalization?
What do you think is most important about the history of economic globalization?
What do you think are the three most important aspects to working in a health care...
What do you think are the three most important aspects to working in a health care team?
What do you think is the most important thing gained from cross-functional teams? Do they work?...
What do you think is the most important thing gained from cross-functional teams? Do they work? Are there any negatives to having them?
Class what attributes do you think are most important for the project manager nurse leader to...
Class what attributes do you think are most important for the project manager nurse leader to have to be able to execute the project successfully?
What do you think are the most important reasons for low public trust in government? How...
What do you think are the most important reasons for low public trust in government? How could public trust in government be increased?
Which personality traits do you think are most important for generativity? Why?
Which personality traits do you think are most important for generativity? Why?