Visa Inc. interview question

trees, graphs, stack, queues and greedy algorithm