Pregunta de entrevista de Nitro

Write a command-line application that calculates intersections between different rectangles.