Jackie Luk wrote:
In my case, I've got 600000 elements in the container, it should take around 5.77 secs to find the element
Big O notation doesn't assign units to the numbers. So, you can't just take the log of a number (of elements) and get the run time (in seconds). Big O is used to determine how an algorithm scales, and even then, it is assuming that the number of elements are approaching infinity.
Henry