Thought of using Cross Product, but.......


  • 0

    My first thought is using cross product, but got stuck because we don't know the relative order of those points (i think about sorting or something, but no help). Until I noticed that "Given a list of points that form a polygon when joined sequentially", SEQUENTIALLY


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.