Meta Interview Question

stack and tree based questions