地址 一次性通过 但可以看到内存肯定耗费比较多, 因为我额外搞个一个vector 存指针。 我的代码 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution {