Convex Hull
Given a set of n points in the two-dimensional plane, your task is to determine the convex hull of the points.Input Format
First Line contains integer n, number of vertices of polygon.Output Format
Next line contains x and y of that vertex
Print the number of points in convex hull.Question Video
|n|< 10^5Sample Input
6Sample Output
2 1
2 5
3 3
4 3
4 4
6 3
4
-
Asked in Companies
-
Related Topics
Video Solution
Code Solution
{ }
{ }
Run