@@ -0,0 +1,437 @@
+/**%0A * Find the up trend or down trend.%0A */%0Apublic class Solution %7B%0A    public int findPeakElement(int%5B%5D num) %7B%0A        int left=0,right=num.length-1;  %0A        while(left%3C=right)%7B  %0A            if(left==right)  %0A                return left;  %0A            int mid=(left+right)/2;  %0A            if(num%5Bmid%5D%3Cnum%5Bmid+1%5D)  %0A                left=mid+1;  %0A            else  %0A                right=mid;  %0A        %7D  %0A        return -1;%0A    %7D%0A%7D%0A

Create Find_Peak_Element.java