Pregunta de entrevista de Coinsquare

write an algorithm psuedo-code that detects if 2 square intersect