Data Structures & AlgorithmsHardICPC regional · geometry

Problem: Which algorithm finds all integer points on the convex hull boundary of a set of points?

  1. A. Dijkstra's algorithm
  2. B. Gale-Shapley
  3. C. Euler's algorithm
  4. D. Andrew's monotone chain with cross products

Correct answer: D. Andrew's monotone chain with cross products

Cross-product turn tests on sorted points build the hull in O(n log n).

More Coding Interview Problems questions

Exams that ask this topic