Coffee Meets Bagel interview question

Coding in Python - Specifically sets