PwC Interview Question

Question on hash maps and DSA.