Ericsson interview question

implement stack using queue and basic dsa questions