How to solve this

I think majority is covered by this thread.

The key point is, we sometimes forget the 2nd case below.

In the 2nd case, even if two boxes are overlapping, we keep two boxes (do not select the highest one), since those can be two different objects. That’s controlled by IoU threshold value. In this quiz, it is 0.5. That’s the key point for this quiz, I think.