input: from typing import List
  import random
  
  def generate_array(min: int, max: int) -> List[int]:
      """ Generates an array of random numbers between two specified values.
      >>> generate_array(0, 50)
      [34, 7, 45, 23, 12, 49, 2, 38, 17, 29, 43, 9, 47, 15, 31, 20, 6, 41, 25, 19, 36, 4, 27, 40, 14]
      """
output:     array_length = random.randint(1, 25)
      return [random.randint(min, max) for _ in range(array_length)]