_05_reverse_list

package
v0.0.0-...-6d07767 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL