Erect the Fence
Explore how to determine the minimal fence enclosing a set of points by computing the convex hull that surrounds all trees. Understand geometric properties and apply algorithms to identify perimeter points, effectively solving the fence erection challenge.
We'll cover the following...
We'll cover the following...
Statement
You are given an array of points, trees, where trees[i] = [xᵢ, yᵢ] represents the location ...