Leetcode 3128. Right Triangles | Hello Interview