Largest Triangle Area Leetcode Problems Java