Cognizant Interview Question

internal implementation of Set and HashMap