Permutation matrix/Cycle/Minimal polynomial and characteristic polynomial/Exercise

Suppose that, for some permutation , its cycle decomposition is known. Determine the minimal polynomial and the characteristic polynomial of the permutation matrix .