@@ -0,0 +1,712 @@
+public class LeetCode0334 %7B%0A    public boolean increasingTriplet(int%5B%5D nums) %7B%0A        if(nums == null %7C%7C nums.length %3C 3)%7B%0A            return false;%0A        %7D%0A        int x = Integer.MAX_VALUE;%0A        int y = Integer.MAX_VALUE;%0A        for(int i =0; i%3C nums.length;i++)%7B%0A            if(x %3E= nums%5Bi%5D)%7B%0A                x = nums%5Bi%5D;%0A            %7Delse if(y %3E= nums%5Bi%5D)%7B%0A                y = nums%5Bi%5D;%0A            %7Delse%7B%0A                return true;%0A            %7D%0A        %7D%0A        return false;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        LeetCode0334 leetcode = new LeetCode0334();%0A        int%5B%5D nums = new int%5B%5D%7B5, 4, 3, 2, 1%7D;%0A        System.out.println(leetcode.increasingTriplet(nums));%0A    %7D%0A%7D%0A

Add LeetCode0334.java