Introduction - If you have any usage issues, please Google them yourself
Given the different elements n a sequence a1, a2, a3,.. , an adjacent to repeat through exchange, this algorithm, with all his assistant array to record the inverse elements arrangement, the time complexity O (n),