Cadence Design Systems interview question

Implement stack using queue(any one approach)