linked_list

package
v0.0.0-...-7253c86 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTwoNumbers

func AddTwoNumbers(l1 *util.ListNode, l2 *util.ListNode) *util.ListNode

func CopyListWithRandomPointer

func CopyListWithRandomPointer(head *util.ListNodeWithRandom) *util.ListNodeWithRandom

func FindTheDuplicateNumber

func FindTheDuplicateNumber(nums []int) int

func LinkedListCycle

func LinkedListCycle(head *util.ListNode) bool

func MergeKSortedLists

func MergeKSortedLists(lists []*util.ListNode) *util.ListNode

func MergeTwoSortedLists

func MergeTwoSortedLists(head1 *util.ListNode, head2 *util.ListNode) *util.ListNode

func RemoveNthFromEnd

func RemoveNthFromEnd(head *util.ListNode, n int) *util.ListNode

func ReorderList

func ReorderList(head *util.ListNode)

func ReverseLinkedList

func ReverseLinkedList(head *util.ListNode) *util.ListNode

func ReverseNodesInKGroup

func ReverseNodesInKGroup(head *util.ListNode, k int) *util.ListNode

Types

This section is empty.

Jump to

Keyboard shortcuts

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