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