Pergunta de entrevista da empresa BlackRock

Design queue using stack and a pattern Ques. Second round revolved around oops and os