This week I am going to talk about a very popular data structure that most programmers use on a daily basis, the Array. In this post, I will cover the Big O of common Array actions (push, pop, etc) and we will also walk through the process of creating our very own Array data structure! Let’s get started.

What is an Array?

A collection of multiple values that can be stored using a single variable

  • The length can not be fixed (unless static)
  • The types of values can not be fixed
  • Can not use strings as an index to an element, must use an integer

#tutorial #arrays #javascript

The Array Data Structure
3.50 GEEK