• + 0 comments

    **Mine Python Solution **

    def permutationEquation(p):
        # Write your code here
        a = [p.index(i)+1 for i in range(min(p),max(p)+1)]
        b = [p.index(i)+1 for i in a ]
    return b