O(n^10 + 9n^9 + 20n^8 + 145n^7) == O(n^10)
O(n + 0.001n^3) == O(n^3)
The run time analysis only cares about the largest exponent. If n is going towards infinity the importance of smaller...
Type: Posts; User: Cornix
O(n^10 + 9n^9 + 20n^8 + 145n^7) == O(n^10)
O(n + 0.001n^3) == O(n^3)
The run time analysis only cares about the largest exponent. If n is going towards infinity the importance of smaller...