Is there any real Algorithm with a time complexity O(n^n), that isn\'t just a gimmick?
I can create such an Algorithm, like computing n^n in O(n^n) / Θ(n^n):
<
There are computations (for instance, tetration) where the output size is O(nn). It's kind of hard to compute them with time complexity less than O(nn).