AI Features

Erect the Fence

Try to solve the Erect the Fence problem.

Statement

You are given an array of points, trees, where trees[i] = [xáµ¢, yáµ¢] represents the location of a tree on a 2D plane. Your goal is to enclose all the trees using the shortest possible length of rope, forming a fence ...

Ask