Exercise 4.15
A simple polygon P is called star-shaped if it contains a point q such that for any point p in P the line segment pq is contained in P. Give an algorithm whose expected running time is linear to decide whether a simple polygon is star-shaped.