Micro Focus Interview Question

HashMap implementation logic