Count Possible Triangles Leetcode Python Problems