Permutations and Cycles

Правка en1, от maradonah, 2015-12-28 04:46:46

I participated in the codeforces educational round 4 and I liked problem E (Square Root of Permutation) that involves finding square root of a given permutation. The solution requires representing the permutation as a graph then decomposing this graph into cycles. Checking certain properties of these cycles such as the number of even cycles with the same length is the key point to finding a solution.

The idea of considering a permutation as a graph and mapping operations on the permutation to operations in the corresponding graph is very new and interesting to me. I tried to search in Google and Codeforces about other problems and explanations related to this concept but I was not able to find relevant stuff other than: Wikipedia article and a codechef problem. I wonder whether you can share some resources about this topic that you might have met during practice or suggest better keywords for finding relevant resources.

Теги permutations, cycles, permutation graphs, educational round 4


  Rev. Язык Кто Когда Δ Комментарий
en1 Английский maradonah 2015-12-28 04:46:46 1152 Initial revision (published)