Array Data Structure


What is Array?

An array is a data structure for storing more than one data item that has a similar data type. The items of an array are allocated at adjacent memory locations. These memory locations are called elements of that array.

The total number of elements in an array is called length. The details of an array are accessed about its position.

The above image can be looked as a top-level view of a staircase where you are at the base of the staircase. Each element can be uniquely identified by their index in the array


Topics:

  • Searching and Sorting
Array Data Structure Array Data Structure Reviewed by Tech Specifier on May 09, 2020 Rating: 5

No comments:

Powered by Blogger.