Typescript Get Largest Number In Leetcode Solutions With Explanation