You are given an array of length 256 whose entries are frequencies. For example, [2, 5, 8] means 0 appears 2 times, 1 appears 5 times and 2 appears 8 times. Compute the statistics of the real data this frequency array represents: the maximum, the minimum, the median, the standard…