Google interview question

Some questions about DFS and BFS using Stacks and Queues