Given the hourly temperature data for each 24 hour period in p prior days spanning from startDate to endDate inclusive, predict the hourly temperature data for the next n days starting the first hour after endDate.
Complete the function predictTemperature in the editor below. The function must return an array of floating-point numbers, one predicted temperature for each hour of n days immediately following endDate in chronological order.
predictTemperature has the following parameter(s):
