3Shape Interview Question

Describe how to write an alogrithm/program for finding the greatest value in a histogram.