Orbitz Worldwide interview question

Standard Algorithms