Skip to Main Content
Computational Thinking for the Modern Problem Solver
book

Computational Thinking for the Modern Problem Solver

by David Riley, Kenny A. Hunt
March 2014
Beginner to intermediate content levelBeginner to intermediate
405 pages
12h 16m
English
Chapman and Hall/CRC
Content preview from Computational Thinking for the Modern Problem Solver
204   ◾     Computational Thinking for the Modern Problem Solver
ere we discover that the fourth item in the list is the Portrait of Adele
Bloch-Bauer I.
7.2.2.3 Deleting Linked List Elements
Once an element is found, however, it can be very easily deleted from the
list. Consider a list where we wish to delete an item we will refer to as item
B. e rst step is to nd the item immediately before B, an item we will
refer to as A. We can delete B by simply making the location of the item
following A to be the location of the item following B. is essentially
relinks the elements in the list to bypass item B. In the list of Figure7.8, for
example, we can delete Portrait of Adele Bloch-Bauer I by (1) nding that
the item immediately before the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

From Computing to Computational Thinking

From Computing to Computational Thinking

Paul S. Wang

Publisher Resources

ISBN: 9781466587793