Convex Hull Problem
Convex Hull Problem
P1
Efficiency of Quickhull Algorithm
Finding point farthest away from line P1P2 can be done in
linear time
Time efficiency:
• worst case: Θ(n2) (as quicksort)
• average case: Θ(n) (under reasonable assumptions about
distribution of points given)