Beats 100%✅✅|| 1 Liner Solution🤩
Give me Upvote\u2B06\uFE0F if you find it helpful\uD83D\uDE0A\n\n---\n\n# Code\npython3 []\nfrom itertools import accumulate\n\nclass Solution:\n    def largest
# **[Give me Upvote\u2B06\uFE0F if you find it helpful\uD83D\uDE0A]()**\n\n---\n\n# Code\n```python3 []\nfrom itertools import accumulate\n\nclass Solution:\n    def largestAltitude(self, gain):\n        return max(accumulate(gain, initial=0))\n\n```
['Python', 'Python3']