Beyond, Inc. interview question

Not too difficult but questions Implement queue using stack and related to binary trees