Pergunta de entrevista da empresa Skillsoft

Write some pseudocode that detects the intersection of lines between two rectangles.