Tuesday, February 28, 2012

Point inside a rectangle or not

Given a 2D point and a rectangle, determine if the point is inside the rectangle.

1 comment:

  1. http://www.leetcode.com/2010/04/how-to-determine-if-point-is-inside.html

    ReplyDelete