Erect the Fence Leetcode Solution byTechnical Collegian •November 19, 2022 Problem You are given an array trees where trees[i] = [x i , y i ] represents the location of a tree in the garden. You are asked to fence the entire garden using the minimum length of rope as it is expensive. The garden is …