Snowflake interview question

The a Perfect pairs question.