PlusAI interview question

C++ programming; computational geometry; algorithm