Count Possible Triangles Leetcode Python Beginner Tutorial