Search⌘ K
AI Features

Convex Polygon

Understand how to verify whether a polygon formed by points on a plane is convex by applying geometric definitions and constraints. This lesson helps you learn to implement checks that determine if all interior angles are less than 180 degrees, ensuring familiarity with polygon properties in algorithmic challenges.

Statement

You are given an array of points on the XY plane, where each point is represented as points[i] = ...