Evernorth Interview Question

Internal working of HashMap , DSA question on strings