Solve prob "recover journey from airline tickets"

I found this problem on CareerCup:
http://www.careercup.com/question?id=5072902038749184