Algorithm · Citadel · Medium
Basic Statistics from a 256-Element Frequency Array Easy · Topics · Company Tags · Hints You are given a frequency array freq of size 256. For each integer v between 0 and 255, freq[v] is the number of times v appears in the underlying dataset. The dataset does not contain any value outside the range 0–255. Compute the following six statistical measures: minimum maximum mean median mode population standard deviation If there is a tie for the mode, pick the smallest value…
Checking your access…