MSD interview question

How do we find the correlation between categorical and continuous variables?