HeyGen Interview Question

A hashmap related question in coding round