# Decomposing a permutation into multiplication of transpositions [duplicate]

Logic for decomposing permutation into transpositions

I have a permutation in cyclic notation, for example (132)(132), and i want to represent it as multiplication of transpositions.

What is the fastest way to do it?

=================

=================