I'm very stumped on this problem I have and was wondering if anyone could lend me a hand here?
Suppose that you have two different algorithms for solving a problem. To solve a problem of size $n$, the first algorithm uses exactly $(n^2)(2^n)$ operations and the second algorithm uses exactly $n!$ operations. As $n$ grows, which algorithm uses fewer operations?
We will now attempt to show for sufficiently large $n$, $n^22^n<n!$
$n!=1\times2\times3\times4\times5\times\dots\times n\\ =1\times3\times4\times5\times\dots\times(n-2)\times\left((n-1)\times2\times n\right)\\ >1\times3\times4\times5\times\dots\times(n-2)\times n^2\quad\text{since $2(n-1)>n$ for sufficiently large $n$}\\ >1\times2\times2^2\times2^2\times2^2\times7\times8\times\dots\times(n-2)\times n^2\\ >2^nn^2\quad\text{since $7, 8,\dots,(n-2)>2$}$