Teemill interview question

Write a piece of code to parse array of strings and convert it into an associative array.