A polygonal chain $C$ is called monotone with respect to a straight line $L$, if every line orthogonal to $L$ intersects $C$ at most once.
I want to design a linear-time algorithm to check whether there exists a line $L$ such that a given chain $C$ with $n$ vertices is monotone relative to $L$, and find such a line.
My idea is to take an angel of monotone chain and transfer it to the unit circle and suppose there is a line L ! like this
But I don't know how to find a good solution that the L exist