Pergunta de entrevista da empresa Adobe

Write a programm for Two rectangles are overlapping with each other or not