Driver code
head = newNode ( 50 ) NEW_LINE head . next = newNode ( 20 ) NEW_LINE head . next . next = newNode ( 15 ) NEW_LINE head . next . next . next = newNode ( 20 ) NEW_LINE head . next . next . next . next = newNode ( 50 ) NEW_LINE