Skip to content

Commit 85bbe07

Browse files
committed
Runtime: 93 ms (Top 44.76%) | Memory: 41.9 MB (Top 75.92%)
1 parent 7928854 commit 85bbe07

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 93 ms (Top 44.76%) | Memory: 41.9 MB (Top 75.92%)
12
var largestAltitude = function(gain) {
23
let points = [0]
34
let highest = 0
@@ -7,6 +8,6 @@ var largestAltitude = function(gain) {
78
points.push(point)
89
if (point > highest) highest = point
910
}
10-
11+
1112
return highest
12-
};
13+
};

0 commit comments

Comments
 (0)