You are given a points where points[i]
Return the total number of distinct horizontal trapezoids that can be formed using points.
A horizontal trapezoid is a quadrilateral with at least one pair of parallel horizontal sides (parallel to the
Constraints:
points.length
All points are pairwise distinct.
You are given a points where points[i]
Return the total number of distinct horizontal trapezoids that can be formed using points.
A horizontal trapezoid is a quadrilateral with at least one pair of parallel horizontal sides (parallel to the
Constraints:
points.length
All points are pairwise distinct.