Pergunta de entrevista da empresa Oracle

how to delete the middle element from the stack