Polynomials in algebraic combinatorics