Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is a negative about a Linked List? Why not use it for everything? - It is highly wasteful, the Node class offers a ton

What is a negative about a Linked List? Why not use it for everything?
-It is highly wasteful, the Node class offers a ton of overhead making the Linked List bloated
-It doesnt adjust well to the unknown and constantly has to be copied and resized
-It is generally a slow data structure Since there is not exploitable memory pattern, the entire list has
to be navigated for most operations . Having it run in O(n) time
-If data is entered into it in sorted or nearly sorted manner, the structure breaks down and slows the
structure down immensely

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

7 Compare and contrast evaluative and developmental appraisal.

Answered: 1 week ago