Procore Technologies interview question

Data Structures problem using hashmap