The constructed linked lists are : a : 5 -> 6 -> 7 b : 2 -> 3 -> 3
Node a = null ; a = push ( a , 7 ) ; a = push ( a , 6 ) ; a = push ( a , 5 ) ; Node b = null ; b = push ( b , 3 ) ; b = push ( b , 3 ) ; b = push ( b , 2 ) ; Console . WriteLine ( compare ( a , b ) ) ; } }