Leetcode 1014. Best Sightseeing Pair #Dynamic Programming