HCLTech interview question

in the given 2 Queue implement stack

Interview Answer

Anonymous

Nov 14, 2019

i have drawn the pic and shown the algorithm