Purchase Solution

Figuring out some problems on linked lists

Not what you're looking for?

Ask Custom Question

Use the linked lists contained in the array pictured in Figure 6.19 to answer the following questions:
a. What elements are in the list pointed to by list1?
b. What elements are in the list pointed to by list2?
c. What array positions (indexes) are part of the free space list?
d. What would the array look like after the deletion of Nell from the first list?
e. What would the array look like after the insertion of Anne into the second ist? Assume that before the insertion the array is as pictured in Figure 6.19.

I have attached Figure 6.19

Purchase this Solution

Solution Summary

The solution gives detailed steps on figuring out some problems on linked lists.

Solution Preview

A. For list 1, we start with node 0. So John is in the list. We see 4 on "next" item. So we go to node 4. So Nell is in the list. Now we see 8 on "next" item. So we go to node 8. So Susan is in the list. Now we see 9 on "next" item. So we go to node 9. So Susanne is in the list. ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Networking Questions

This quiz consists of some basic networking questions.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.