Pregunta de entrevista de Yandex

Difference between O(N^N) and O(N!)