Pergunta de entrevista da empresa Matrox Electronic Systems

how to compute rectangle intersection