Source: /cirosantilli/parity-of-a-permutation

= Parity of a permutation
{wiki}