Erect the Fence

From LeetCode. Convex hull (Monotone Chain). Solve the geometry problem "Erect the Fence".

Examples
Input: [[1,1]]
Output: [[1,1]]
Hints

Erect the Fence

**From LeetCode.** Convex hull (Monotone Chain). Solve the geometry problem "Erect the Fence".