HashMap
has two important properties: size
and load factor
. I went through the Java documentation and it says 0.75f
is the initial load factor. But I can’t find the actual use of it.
Can someone describe what are the different scenarios where we need to set load factor and what are some sample ideal values for different cases?