Checking all pairs in a list for a property Previous Year Questions | Prasnya