Root Inc. interview question

How would you measure correlation between categorical variables?