Question: homework is to describe the data structure after adding 3 LL nodes. Use the program we went over in class, 1 - LL - AddRemFront

homework is to describe the data structure after adding 3 LL nodes.
Use the program we went over in class, 1-LL-AddRemFront
Put a breakpoint at the closing } at the end of the public void InsertAtFront(int value) method, Line
56
Start the program and when it hits the breakpoint, click on the continue arrow (start green arrow) twice.
At this point you should have inserted 3 items in the LL, but you have not removed any.
When it stops the 3rd time, add a watch on the frontOfList variable. It will have a small arrow on the left,
click it to expand it.
That exposes another line, with another arrow, click that, and then do that again until you have
expanded 3 arrows and your
watch window should be showing 7 lines.
Now using simple but clear English, describe what those 7 lines are showing you. I realize this is a bit
ambiguous, but the goal
is to convince me you know what the data structure looks like.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!