Use push ( ) to construct linked list
linkedlist . push ( 1 ) NEW_LINE linkedlist . push ( 2 ) NEW_LINE linkedlist . push ( 1 ) NEW_LINE linkedlist . push ( 12 ) NEW_LINE linkedlist . push ( 1 ) NEW_LINE linkedlist . push ( 18 ) NEW_LINE linkedlist . push ( 47 ) NEW_LINE linkedlist . push ( 16 ) NEW_LINE linkedlist . push ( 12 ) NEW_LINE linkedlist . push ( 14 ) NEW_LINE