Meta interview question

Find the local maximum of an array