State Farm interview question

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