Pergunta de entrevista da empresa Meta

Given: An array of integers arr and an integer k. Return: An array containing the average of each contiguous subarray of size k.