_021_10

package
v0.0.0-...-982d520 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestinationCity

func DestinationCity(paths [][]string) string

Destination City leetcode: https://leetcode-cn.com/problems/destination-city/

func RemoveDuplicateFromSortedArray

func RemoveDuplicateFromSortedArray(nums []int) int

func RemoveDuplicatesFromSortedArray

func RemoveDuplicatesFromSortedArray(nums []int) int

Remove Duplicates from Sorted Array leetcode: https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/

Types

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

Remove Nth Node From End of List leetcode: https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/

func MergeTwoSortedLists

func MergeTwoSortedLists(l1 *ListNode, l2 *ListNode) *ListNode

func RemoveNthNodeFromEndOfList

func RemoveNthNodeFromEndOfList(head *ListNode, n int) *ListNode

Jump to

Keyboard shortcuts

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