Explain hash collisions and Java HashMap complexity | StackAdapt Interview Question