You are on page 1of 1

Agreement

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,

and associative arrays.

3.Give example of each Type of Array (in java, c or in c++ program code)indicate also the output of
program code

4.What is a Linked List?

- 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

5.Types of linked list

- Singly Linked list.


 Doubly Linked list.
 Circular Linked list.
 Doubly Circular Linked list.

6.Give example of each Type of linked list (in java, c or c++ program code)indicate also the output of
program code

7. The difference between linked list and an array

note:

Try to use it on codepad.org(online compiler and interpreter) your program

You might also like