Procore Technologies Interview Question

Data Structures problem using hashmap