Pergunta de entrevista da empresa Oracle

Implementation of Stack and making it efficient.