Leetcode Find The Maximum And Minimum