Report question

Question: Finding the local maxima/peaks and minima/valleys of histograms