Best Sightseeing Pair Leetcode - 1014