2D Minimal

Finding minimals of points (instead of minimums), i.e. no point has both and greater than me.

Solution

  • Utilizes prune-and-search idea.
  • Find the median of -coordinates (according to selection-problem).
  • Divide the points into left and right sets, denoted as and .
  • In , find the points with the biggest -coordinate as
  • In , eliminate all points with -coordinate less than or equal to that of , gives . Similarly get .
  • Recurse on and .

Analysis