Quest Global Interview Question

internal working of hashset add method?