Olog(k)? what are you talking about, k is a constant, log(k) is the same as k in this case. But the answer isn't either, its Olog(n), you just take the top of the heap and percolate up
Originally posted by: BrownTown
Olog(k)? what are you talking about, k is a constant, log(k) is the same as k in this case. But the answer isn't either, its Olog(n), you just take the top of the heap and percolate up
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.