Bugsmirror interview question

Stackw queue dequeue tree e