Beispiel #1
0
        private static ListNode AddToBegining(ListNode lhead, ListNode other)
        {
            other.next = lhead;

            return(other);
        }
Beispiel #2
0
 public static ListNode AddTwoNumbers(ListNode l1, ListNode l2)
 {
     return(Add(l1, l2, 0));
 }