反转链表或者栈的性质,栈结构真的好用! import java.util.*; public class Solution { //从后往前加,栈结构 public ListNode addInList (ListNode head1, ListNode head2) { // write code here Stack<ListNode> s1 = new Stack<>(); Stack<ListNode> s2 = new Stack<>(); int carr...