There is an algorithm called array doubling that is used to increase the size of an array to accommodate new data when an array lls up.