State Farm Interview Question

Coding question asked me to parse data and add it to a best structure.