Concept Flow - Stack Implementation Using Linked List
Start
Create new node with data
Set new node.next to current head
Update head to new node
Stack push complete
For pop: Check if head is None?
Save head data
Update head to head.next
Return saved data
Stack pop complete
Push adds a new node at the start (head) of the linked list. Pop removes the head node and returns its data.
