https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-finding-the-largest-number-from-array-elements-3bc7f2bde20f