Similar Pairs MEDIUM
t cases, n, array a.
YES if array can be partitioned into pairs that are both even/odd or have diff 1.
Input: 1 4 11 14 15 12 Output: YES
TC1: (11,12) diff 1, (14,15) diff 1.