Hi Jeremy,
There are 2 questions that I'm still working on. I think Lowman gave notes on these but I can't understand what I wrote.
1. What happens when doubling the size for a sorting algorithm that is O(logn)?
T of 2n / n = log(2n) / log(n). How do I simplify this? I think we have to use the lim at n --> infinity but I
haven't figured out how to work this to completion.
1. What happens when doubling the size for a sorting algorithm that is O(nlogn)?
T of 2n / n = (2n)log(2n) / (n)log(n). Same issue
The question is how to get the 2 out of the log() term. I tried looking up properties of logarithms but didn't find anything useful.
Thanks,
Afif