Maximum Element Of Array Leetcode Problems On Graphs Of Functions