2N-1, the couples are numbered in order, the first couple being
(0, 1), the second couple being
(2, 3), and so on with the last couple being
row[i]being the value of the person who is initially sitting in the i-th seat.
len(row)is even and in the range of
rowis guaranteed to be a permutation of