Juniper Networks | Phone | Design hashmap/hashtable
Anonymous User
521

Design hashtable.

Did the general implementation using hashKey for int values.

int hash_key = key % size();

But, follow up question, what hashKey to be used for string values.

How should we define a hashkey/hash function for string values. ?

Comments (1)