OkCupid interview question

It's a popular optimization problem.