Available question text
Given a set of 2D points, compute the minimal-perimeter fence that encloses them and return all points that lie on the fence boundary. This is the convex-hull problem (n ≤ 3000) with the extra requirement to include collinear points along hull edges.
Related questions
Continue with questions that share topics or the same question type.
- Erect the Fence II
Coding
- Paint Fence
Coding
- 0/1 Knapsack Problem with Time Complexity Optimization
Coding
- 01 Matrix
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 587. Erect the Fence
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source