push ( ) insert node in linked list . 15 -> 18 -> 5 -> 8 -> 11 -> 12
head = push ( head , 12 ) NEW_LINE head = push ( head , 11 ) NEW_LINE head = push ( head , 8 ) NEW_LINE head = push ( head , 5 ) NEW_LINE head = push ( head , 18 ) NEW_LINE head = push ( head , 15 ) NEW_LINE printList ( head ) ; NEW_LINE print ( ) NEW_LINE print ( " Linked ▁ list ▁ rotated ▁ elements : ▁ " , end = ' ' ) NEW_LINE