Right Triangles Leetcode Problems