Pergunta de entrevista da empresa Cognizant

1) Stack Operations code 2) Puzzle 3) Basic question on OOPS