Leetcode 3623. Count Number of Trapezoids I | Hello Interview