human
Linked List | Set 2 ( Inserting a node ) | This function is in LinkedList class Function to insert a new node at the beginning.
1 & 2 : Allocate the Node & Put in the data.
3. Make next of new Node as head.
4. Move the head to point to new Node"
Solution in Python:
assistant
#Here is code to linked List and the other steps required.
 def push ( self , new_data ) :
	new_node = Node ( new_data )
	new_node . next = self . head
	self . head = new_node