Edifecs interview question

stack and queue was asked