Question 1

Perform an arithmetic addition operation from two LinkedList.

LinkedList 1 : 7-5-9-4-6

LinkedList 2: 8-4

It has to be 75946 + 84 = 76030.

Key idea is consider the length of those two linked list.

results matching ""

    No results matching ""