Count Right Triangles Leetcode Problems