topic:
Thought:
I have been with yesterday’s question,Find by the way
What is deducted is a very strange oneprecompiled.listnode.ListNode
,But mine is'__main__.ListNode'
。
Because:Repeatedly defined$ListNode$
不反转Linkedof方法可能就是昨天of那种,转化为math做。
The code is still0x3fof
and昨天ofanswer法一样
Code:
1 | class Solution: |