0

Let P be a finite set of n distinct points in ℝ2. The set P is called completely triangulable if for any three points p,q,r∈P the area of their triangle is always positive.

An algorithm that determines if a finite set P is completely triangulable returns TRUE if PP is completely triangulable and FALSE otherwise.

What is an algorithm that runs in O(n^2 log ⁡n) time?

My thinking is to use breadth first search but the running time of it is O(n^2), so how can I edit that to achieve O(n^2 log n)?

tictactoe
  • 9
  • 2

0 Answers0