Java - Array Stack Addition

Short Java Program demostrating how to find the sum of two linked lists using stack. The first example is my own method with much less lines of code. The second example is from GeeksforGeeks which is a much more complex method (not needed).

example

output1 -->