Pergunta de entrevista da empresa InConsulting

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