Parity of a permutation?

doubt
number-theory
permutation

#1

Someone, please explain what is the meaning of parity of permutation and how it can be helpful.

And also how can we implement it?

Can you post some question related to it practice…

Thank you.


#2

Here . This is really helpful. If you are not aware of bijective functions and permutation groups do read functions and relations and group theory before reading this article.


#3

Regarding problem, http://codeforces.com/problemset/problem/986/B this is the only problem i came across till now on parity of permutation. Here parity is just the inversion count