Why is hashmap rehashed ( in java )?
hashmap in java uses Separate chaining to handle Collision and that is why you can insert any number of time without any problem.
hashmap in java uses Separate chaining to handle Collision and that is why you can insert any number of time without any problem.