Example of a factorial time algorithm O( n! ) April 1, 2023 by Tarik Generate all the permutations of a list You have n! lists, so you cannot achieve better efficiency than O(n!).