Leetcode刷题记录 发表于 2024-03-07 一天不练手脚慢,两天不练丢一半,三天不练门外汉,四天不练瞪眼看。 160. 相交链表 一开始还看错题了,当成ACwing上的一道题了。给自己上强度了。 这里分享官方的第二种解法:使用了双指针。(第一种解法使用了hash表)其中关键在于证明: