About 44,500 results
Open links in new tab
  1. Array Introduction - GeeksforGeeks

    Sep 10, 2025 · An array is a collection of items of the same variable type that are stored at contiguous memory locations. It is one of the most popular and simple data structures used in …

  2. What is an Array? - W3Schools

    With an array, you can: Store a collection of numbers, words, or objects. Access any value using its index (position). Read, update, insert, or remove any of the array values. See how an array …

  3. Array - JavaScript | MDN - MDN Web Docs

    Sep 28, 2025 · JavaScript arrays are zero-indexed: the first element of an array is at index 0, the second is at index 1, and so on — and the last element is at the value of the array's length …

  4. Array (data structure) - Wikipedia

    Taking advantage of this feature, some languages (like FORTRAN 77) specify that array indices begin at 1, as in mathematical tradition while other languages (like Fortran 90, Pascal and …

  5. What is an Array? Understanding the Basics and Defining Array

    An array is a data structure that stores a fixed-size collection of elements such as integers or strings, sequentially in memory. Each element in the array is accessed using an index, starting …

  6. What is an Array? Types of Array | Great Learning

    Jan 13, 2025 · What is an Array? An array is a collection of similar data elements stored at contiguous memory locations. It is the simplest data structure where each data element can be …

  7. 1.4 Arrays - Princeton University

    For example, you can refer to the last element in the array with a[-1] or a[len(a)-1] and the first element with a[-len(a)] or a[0]. Python raises an IndexError at run time if you use an index …

  8. Arrays - The Modern JavaScript Tutorial

    Nov 20, 2025 · Some programming languages allow the use of negative indexes for the same purpose, like fruits[-1]. However, in JavaScript it won’t work. The result will be undefined, …

  9. Practice Arrays - CodeChef

    Practice Arrays Solve Arrays coding problems to start learning data structures and algorithms. This curated set of 23 standard Arrays questions will give you the confidence to solve …

  10. Array Basics - Florida State University

    Array declarations must contain the information about the size of the array. It is possible to leave the size out of the [ ] in the declaration as long as you initialize the array inline, in which case …