Erect the Fence
Explore how to solve the Erect the Fence problem by finding the convex hull of a set of points. Learn to identify the shortest boundary that encloses all points, and practice implementing this geometric solution in coding interviews.
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 ...