HCLTech interview question

in the given 2 Queue implement stack

Interview Answer

Anonymous

14 Nov 2019

i have drawn the pic and shown the algorithm