Print all the paths in two dimensional array

Print all the paths from top left corner to the right bottom corner of
an array. Solved using Recursion
Find the peak element in an array

Find the peak element in an array, where the peak element is the element
which is greater than both of its neighbor.