@@ -0,0 +1,355 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/find-the-highest-altitude/%0A */%0Apublic class Problem1732 %7B%0A    public int largestAltitude(int%5B%5D gain) %7B%0A        int answer = 0;%0A        int altitude = 0;%0A        for (int g : gain) %7B%0A            altitude += g;%0A            answer = Math.max(answer, altitude);%0A        %7D%0A        return answer;%0A    %7D%0A%7D%0A

Solve problem 1732