log to the base 2

How many times can you divide N things in half?


    N/2/2/2/2/2/2/.../2 = a
     |_________________|
           k times





How many accesses will it take to find X as we increase N ?

Last Modified -