Amazon interview question

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