Documentation ¶
Index ¶
- func CalculateMoneyInLeetcodeBank(n int) int
- func CountNumber(nums []int, k int) int
- func CountOfMatchesInTournament(n int) int
- func FindKPairsWithSmallestSums(nums1 []int, nums2 []int, k int) [][]int
- func LargestNumber(nums []int) int
- func LuckyNumbersInAMatrix(matrix [][]int) []int
- func MaximumDifferenceBetweenIncreasingElements(nums []int) int
- func MinimumDifference(nums []int, k int) int
- func NumberOfEnclaves(grid [][]int) int
- func PancakeSorting(arr []int) []int
- func PathWithMaximumGold(grid [][]int) int
- func PushDominoes(dominoes string) string
- func SumOfUniqueElements(nums []int) int
- func WhereWillTheBallFall(grid [][]int) []int
- type ListNode
- type Pair
- type Solution
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateMoneyInLeetcodeBank ¶
Calculate Money in Leetcode Bank leetcode: https://leetcode-cn.com/problems/calculate-money-in-leetcode-bank/
func CountNumber ¶
Count Number of Pairs With Absolute Difference K leetcode: https://leetcode-cn.com/problems/count-number-of-pairs-with-absolute-difference-k/
func CountOfMatchesInTournament ¶
Count of Matches in Tournament leetcode: https://leetcode-cn.com/problems/count-of-matches-in-tournament/
func FindKPairsWithSmallestSums ¶
Find K Pairs with Smallest Sums leetcode: https://leetcode-cn.com/problems/find-k-pairs-with-smallest-sums/
func LargestNumber ¶
func LuckyNumbersInAMatrix ¶
Lucky Numbers in a Matrix leetcode: https://leetcode-cn.com/problems/lucky-numbers-in-a-matrix/
func MaximumDifferenceBetweenIncreasingElements ¶
Maximum Difference Between Increasing Elements leetcode: https://leetcode-cn.com/problems/maximum-difference-between-increasing-elements/
func MinimumDifference ¶
Minimum Difference Between Highest and Lowest of K Scores leetcode: https://leetcode-cn.com/problems/minimum-difference-between-highest-and-lowest-of-k-scores/
func NumberOfEnclaves ¶
func PancakeSorting ¶
Pancake Sorting leetcode: https://leetcode-cn.com/problems/pancake-sorting/
func PathWithMaximumGold ¶
Path with Maximum Gold leetcode: https://leetcode-cn.com/problems/path-with-maximum-gold/
func PushDominoes ¶
Push Dominoes leetcode: https://leetcode-cn.com/problems/push-dominoes/
func SumOfUniqueElements ¶
Sum of Unique Elements leetcode: https://leetcode-cn.com/problems/sum-of-unique-elements/
func WhereWillTheBallFall ¶
Where Will the Ball Fall leetcode: https://leetcode-cn.com/problems/where-will-the-ball-fall/
Types ¶
type ListNode ¶
Linked List Random Node leetcode: https://leetcode-cn.com/problems/linked-list-random-node/
type Solution ¶
type Solution struct {
// contains filtered or unexported fields
}
蓄水池抽样
func Constructor ¶
type TreeNode ¶
Lowest Common Ancestor of a Binary Tree leetcode: https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/
Source Files ¶
- calculateMoneyInLeetcodeBank.go
- countNumberOfPairsWithAbsoluteDifferenceK.go
- countOfMatchesInTournament.go
- findKPairsWithSmallestSums.go
- largestNumberAtLeastTwiceOfOthers.go
- linkedListRandomNode.go
- lowestCommonAncestorOfABinaryTree.go
- luckyNumbersInAMatrix.go
- maximumDifferenceBetweenIncreasingElements.go
- minimunDifference.go
- numberOfEnclaves.go
- pancakeSorting.go
- pathWithMaximumGold.go
- pushDominoes.go
- sumOfUniqueElements.go
- whereWillTheBallFall.go