Exercise: Sum Two Linked Lists
Learn to sum two linked lists in Python by creating a new linked list that encodes the total. Understand how digits are stored in nodes representing units, tens, and higher places, and address linked lists of different sizes to create a correct summed result.
We'll cover the following...
We'll cover the following...
Problem #
In this exercise, you are required to sum two linked lists and return the sum embedded in another linked list.
The first number that we append to the linked list represents the unit place and will be the least significant digit of a number. The next ...