Amazon Interview Question

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