Diligent Interview Question

Find the peek array element