I have an algorithm with three variables affecting the time complexity: $k$, $L$, and $n$. I have come up with the following that expresses the complexity:
$O(kn + k^2L + k^2nL + knL)$
I think I should be able to simplify this to:
$O(k^2nL)$
Am I correct? I'm a little fuzzy on how to simplify things when working with multiple variables, but it seems right that since every other term is a factor of $k^2nL$, it should dominate the other terms?