Re: Hash



Douglas Dude wrote:
Please help me confirm the O-notation. I always think it is O(1), is
this correct?

Assuming there are no clashes (different keys with the same hashed value),
that is correct.

--
Dr Jon D Harrop, Flying Frog Consultancy
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/index.html?usenet
.



Relevant Pages