Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 10 Online
OpenStudy (anonymous):

I m getting stucked with this algorithmic complexity.im not get the log n of a thing. Any help

OpenStudy (anonymous):

do you know what a logarithm is? http://en.wikipedia.org/wiki/Time_complexity#Table_of_common_time_complexities

OpenStudy (anonymous):

When you do binary search for an array of n nos then you execute the loops a maximum of "log n" times, i.e. the program takes maximum of "log n" nos of steps to execute.. it may even take less nos of steps to finish, "log n" nos of steps being the worst case scenario..

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!