Checking all pairs in a list for a property; Compound conditions in pair comparison Previous Year Questions | Prasnya