Inicial

What is an Array?

Submitted by tech4life on

Imagine having a box full of toys. Inside, you can keep different type of toys: cars, legos, dolls, etc. Each toy has its specific place inside the box. In our developing world, we call it an Array.

¿What is an array?

An array is a data structure that allows us to store a collection of elements of the same type with a single name. Each element inside the array has an index, that we can say it is its direction, that allow us to find it in a fast and efficient way.

For example: