Procore Technologies Interview Question

Medium difficulty Python question on nested dictionary, look ups and optimal search