Data Structures and Algorithms Assignment 2.
Data Structures and Algorithms Assignment 2.
Consider the following data elements: 0, 1, 7, 4, 3, 2, 8, 5 By way of a diagram show how the above
data can be stored in an array, conceptually. Your diagram must clearly show the cells as well as the
cell index.
2. Consider the following data items: Ghost, Chipi, Paris, Megalo, Ameno By way of a diagram,
illustrate how the above data can be stored using (a) a singly linked list; (b) a doubly linked list