给定一个数组a1,a2,a3,...an,b1,b2,b3..bn,最终把它置换成b1,a1,b2,a2,...bn,an。
http://arxiv.org/pdf/0805.1598.pdf
https://github.com/julycoding/The-Art-Of-Programming-By-July/blob/master/ebook/zh/02.09.md
给定一个数组a1,a2,a3,...an,b1,b2,b3..bn,最终把它置换成b1,a1,b2,a2,...bn,an。
http://arxiv.org/pdf/0805.1598.pdf
https://github.com/julycoding/The-Art-Of-Programming-By-July/blob/master/ebook/zh/02.09.md