JavaScript less than 86.85% and faster than 91.23%
\nconst largestAltitude = gain => {    \n    let previous = 0;\n    let biggest = 0;\n    \n    for (let i = 0; i < gain.length; i += 1) {\n        previous += 
```\nconst largestAltitude = gain => {    \n    let previous = 0;\n    let biggest = 0;\n    \n    for (let i = 0; i < gain.length; i += 1) {\n        previous += gain[i];\n        if (previous > biggest) biggest = previous;\n    }\n    \n    return biggest;\n};\n```
['JavaScript']