FactSet interview question

To implement a stack and circular queue