Count Possible Triangles Leetcode Sql Certification