Max And Min Element In Array Leetcode Questions