Question 3

A company wants to fly in a total of 100 candidates for the interview. The company has two office location, one in NY and other in SF and max capacity at each location is 50 candidates. You are given the cost it incurs to fly in each candidate to NY and SF.

[500, 300],[540, 600],[550, 600],[300, 50] on

Write an algorithm for the minimum total cost?

[advanced_iframe securitykey=”undefined” src=”” width=”100%” height=”600″]