Array

Learn about arrays, an essential part of your programming toolbox.

What is an array?

  • An array is a contiguous area of memory.
  • This contiguous area contains elements of equal size.
  • These elements are indexed by contiguous integers.

    In different languages, arrays are indexed differently. In some languages, array indexing starts at 1. In others, it starts at 0. In Python, array indexing starts at 0.

  • Level up your interview prep. Join Educative to access 80+ hands-on prep courses.