132 - Bumpy Objects

This problem is convex hull in disguise.

The “does not intersect the object” requirement of a base line is really a convex hull problem. Here is a reference solution.

Creative Commons License
This blog by Che-Liang Chiou is licensed under a Creative Commons Attribution 4.0 International License.