Friday, April 15, 2011

Select the less expensive flight going and return

Given two locations A, B there are K flights going A -> B and H flights A <- B each one with a cost. Select the less expensive combination assuming that the flights can be fully booked.

No comments:

Post a Comment