Pergunta de entrevista da empresa Paytm

Producer consumer problem , implement stack using queue , first missing number some puzzles