Given a set of points in a 2D Cartesian plane, count the number of horizontal trapezoids (quadrilaterals with two opposite sides parallel to the x-axis) that can be formed using four distinct points…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.