Pregunta de entrevista de InConsulting

Problem solving : How do you identify if any given point lies within a rectangle