Frage im Vorstellungsgespräch bei Salesforce

1) How would you implement a Hashtable by scratch? How would you implement the .Add() in the HashTable? How would you make the hashtable concurrent safe?

Antwort im Vorstellungsgespräch

Anonym

18. Jan. 2018

1) An array of linked lists. 2) size % obj.getHashCode() 3) Put locks on each element in the array