Rendezvous with C/C++

/*PROBLEM=======Given 2*N  boxes in  line  side  by  side  (N<=5).  Twoadjacent boxes are empty, and the other boxes contain N-1symbols “A” and N-1 symbols “B”. Example for N=5:         | A | B | B | A |   |   | A | B | A | B | Exchanging rule:      The content  of any two…

1