Question d’entretien chez TikTok

Given two bounding box, write a function finding the IOU area of two boxes