Frage im Vorstellungsgespräch bei Amazon

How would you calculate correlation between a binary variable and a continuous variable?