Pergunta de entrevista da empresa Dixa

How would solve the assignment problem alternatively?