Pergunta de entrevista da empresa Amazon

Q: Write push and pop nodes using Linked List data structure.