Meta interview question

stack and tree based questions