Insert nodes
head1 = push ( head1 , - 1 ) NEW_LINE head1 = push ( head1 , - 2 ) NEW_LINE head1 = push ( head1 , 0 ) NEW_LINE head1 = push ( head1 , 4 ) NEW_LINE head1 = push ( head1 , 5 ) NEW_LINE head1 = push ( head1 , 8 ) NEW_LINE ans = distinctCount ( head1 ) NEW_LINE print ( ans ) NEW_LINE