Professional Documents
Culture Documents
1.What is an Array?
-An array is a sequenced collection of elements of the same data type with a single identifier name.
Python lists are similar to arrays in other languages but are not restricted to a single data type. The term
‘array’ as used in this chapter will generally also apply to Python lists unless otherwise noted.
2.Types of Array
-indexed arrays,
multidimensional arrays,
3.Give example of each Type of Array (in java, c or in c++ program code)indicate also the output of
program code
- A linked list is a linear data structure, in which the elements are not stored at contiguous memory
locations. The elements in a linked list are linked using pointers as shown in the below image
6.Give example of each Type of linked list (in java, c or c++ program code)indicate also the output of
program code
note: