Skip to main content

Array for interview questions

Arrays are one of the basic data structures when it comes to programming. In the context of programming language arrays are not built-in data structures, but can be created using built-in data structures. An array stores elements of the same data type in a sequential manner within a fixed size memory block. That’s why an array is often categorized as a Linear data structure.

An array can be picturised as below:

Array description

                                      Image Courtesy Google

In programming languages, arrays are linear data structures, indexed from 0 to length of the array.

Kriti Nidhi

Kriti Nidhi

Kriti Nidhi is a tech enthusiast and a geeky programmer. She holds passion about programming and new technologies.
Kriti Nidhi

Leave a Reply

Your email address will not be published. Required fields are marked *