Pergunta de entrevista da empresa SeatGeek

Logic test, searching in binary trees and such