Oracle interview question

DSA questions based on stack and trees medium difficulty and coding based on java 8