Problems with tag O(n * n!)