Question d’entretien chez Coinsquare

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