The Doctor
Jul 10, 2017 · 1 min read

I don’t understand how the correct value is returned when chaining. If two objects (“John” and “Fred”) have the same key (say, 12), and are placed in different slots of a linked list at position 12, how does the function decide which slot to return? If I ask for the value of key 12, which object is returned, John or Fred?

    The Doctor

    Written by