Typescript Get Largest Number In Leetcode Interview