determineNumPasses(array) {
    return this.getLengthOfLongestElement(array);
  }
Number of passes is determined by the length of the longest element in the array.
For integers, this log10(num), and for strings, this would be the length of the string.