Why is it difficult to store linked list in an array?

Answer Posted / sandy

because it grows dynamically. it can get extra node from
avail(available) list whereever array not having any avail
list......

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Using a smart pointer can we iterate through a container?

572


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3445


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

676


What is the full name of logo?

604


What are the two main components of c++?

599






what is multi-threading in C++?

621


Can comments be nested?

634


Why can’t you call invariants() as the first line of your constructor?

570


What is a breakpoint?

573


What is a loop? What are different types of loops in c++?

608


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

614


How do you traverse a btree in backward in-order?

634


What is the history of c++?

563


Write syntax to define friend functions in C++.

609


What is the this pointer?

643