@@ -0,0 +1,714 @@
+package leetcode;%0A%0Aimport java.util.Arrays;%0A%0Apublic class Task739 %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(Arrays.toString(new Task739().dailyTemperatures(new int%5B%5D%7B73, 74, 75, 71, 69, 72, 76, 73%7D)));%0A    %7D%0A%0A    public int%5B%5D dailyTemperatures(int%5B%5D temperatures) %7B%0A        int%5B%5D daysForWarmerWeather = new int%5Btemperatures.length%5D;%0A        for (int i = 0; i %3C temperatures.length - 1; i++) %7B%0A            for (int j = i + 1; j %3C temperatures.length; j++) %7B%0A                if (temperatures%5Bj%5D %3E temperatures%5Bi%5D) %7B%0A                    daysForWarmerWeather%5Bi%5D = j - i;%0A                    break;%0A                %7D%0A            %7D%0A        %7D%0A        return daysForWarmerWeather;%0A    %7D%0A%7D%0A

Add Task739