leetcode

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: 0BSD Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReverseList

func ReverseList(head *list.ListNode) *list.ListNode

solution by recursive

func ReverseList1

func ReverseList1(head *list.ListNode) *list.ListNode

https://leetcode.com/problems/reverse-linked-list/ solution by iteration

Types

This section is empty.

Jump to

Keyboard shortcuts

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