✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Given two polygons P and Q, with nP and nQ extreme points.
Assume P and Q are both given with their list of extreme points in, e.g., the CW order, starting with an arbitrary extreme point.
What is the best complexity of their intersection check, i.e., checking whether they intersect or not.