FactSet Interview Question

To implement a stack and circular queue