Versions in this module Expand all Collapse all v0 v0.0.1 Aug 22, 2020 Changes in this version + const INT_MAX + const INT_MIN + func Atoi(s string) int + func AtoiX(s string) int + func BinarySearchX(nums []int, target int) int + func CombinationSum(candidates []int, target int) [][]int + func CombinationSumX(candidates []int, target int) [][]int + func CountPrimes(n int) int + func DigitCounts(k int, n int) int + func FindBadVersion(n int) int + func FindPeak(A []int) int + func FizzBuzz(n int) []string + func HashCode(key string, HashSize int) int + func InOrder(root *TreeNode, res *[]int, k1 int, k2 int) + func IsBadVersion(n int) bool + func IsOpr(s string) bool + func IsPrime(n int) bool + func KetLargestElementX(n int, nums []int) int + func KthLargestElement(n int, nums []int) int + func LongestWord(m []string) []string + func Lss(a, b string) int + func MergeArrayX(a, b []int) []int + func MergeSortedArray(a, b []int) []int + func Nice(s int) int + func PartitionArray(nums []int, k int) int + func Permute(nums []int) [][]int + func PreOrder(root *TreeNode, res *[]int) + func PreOrderTravelSal(root *TreeNode) []int + func Rehashing() + func RotateString(str *string, offset int) + func SearchMatrix(matrix [][]int, target int) bool + func SortLetters(st string) string + func StrDeleteCh(str string, ch int32) string + func StrReplaceCh(str string, ch1, ch2 int32) string + func StrStr(source, target string) int + func TrailingZeros(n int64) int64 + func TrailingZerosX(n int64) int64 + func TwoSum(a []int, m int) []int + func TwoSumSlow(a []int, m int) []int + func UglyNumber(n int) int + type LinkNode struct + Next *LinkNode + Val int + func ReverseLink(l *LinkNode) *LinkNode + func ReverseLinkX(l *LinkNode) *LinkNode + type TreeNode struct + Left *TreeNode + Right *TreeNode + Val int + func NewTravelSal() *TreeNode