Count Right Triangles Leetcode Playground