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
Data Organization   ◾     199  
Since the first item in the list must be stored at the anchor, we must
move the second item in the list, the item at memory location 4, to the
anchor position. Each subsequent item in the list must also be shifted
in memory since its position in the list changes as a result of the dele-
tion. Note that the order in which these moves are performed must be
from the front of the list to the end of the list, otherwise the operation
will not work correctly. For this example, deleting the top item in the
list requires four moves.
7.2.1.4 Inserting Array Elements
We can also insert an element into the array, but only ...
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