Meta Interview Question

Find the local maximum of an array