Flip Columns For Maximum Number of Equal Rows
Rows that are equal or complementary to a given row can be made all equal by one set of column flips, so count those matches for each row.
Rows that are equal or complementary to a given row can be made all equal by one set of column flips, so count those matches for each row.