Peak Index In A Mountain Array Coding Questions In C