Phillip Securities Interview Question

Explain what is stack and queue