Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReverseList ¶
func ReverseList(head *ListNode) *ListNode
ReverseList 双指针方式
@param head leetcode 这里的 head 指的是第一个结点,不是头结点,有点误导 @return *ListNode
func ReverseList2 ¶
func ReverseList2(head *ListNode) *ListNode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.