_021_09

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base7

func Base7(num int) string

func Base72

func Base72(num int) string

func CompareVersionNumbers

func CompareVersionNumbers(version1 string, version2 string) int

func CompareVersionNumbers2

func CompareVersionNumbers2(version1, version2 string) int

func FindTheStudentThatWillReplaceTheChalk

func FindTheStudentThatWillReplaceTheChalk(chalk []int, k int) int

Find the Student that Will Replace the Chalk https://leetcode-cn.com/problems/find-the-student-that-will-replace-the-chalk/

func FindTheStudentThatWillReplaceTheChalk2

func FindTheStudentThatWillReplaceTheChalk2(chalk []int, k int) int

func SmallestK

func SmallestK(arr []int, k int) []int

Smallest K leetcode: https://leetcode-cn.com/problems/smallest-k-lcci/

Types

type ListNode

type ListNode struct {
	Val  int
	Next *ListNode
}

Split Linked List in Parts leetcode: https://leetcode-cn.com/problems/split-linked-list-in-parts/

func SplitLinkedListInParts

func SplitLinkedListInParts(root *ListNode, k int) []*ListNode

Jump to

Keyboard shortcuts

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