Versions in this module Expand all Collapse all v1 v1.0.3 Sep 13, 2023 Changes in this version + const BackTrack + const BigNumOpera + const Bisection + const Bit + const Cache + const Calculator + const Combination + const DiffArray + const DigitalTrans + const Dynamic + const EffectBrackets + const GapMulti + const Graph + const Graphical + const Greedy + const Heap + const INT_MAX + const INT_MIX + const InOrder + const LCS + const LIS + const LMG + const LMS + const LNS + const LSG + const LSS + const List + const Matrix + const MinStack + const MonotonousStack + const OptimalSchedule + const Permutation + const PermuteAndCombine + const PigeonCage + const PostOrder + const PreOrder + const PreSum + const Queue + const Recursion + const RedBlackTree + const ReturnKMin + const SlidingWindow + const Sort + const Stack + const StringCompare + const Tree + const TwoPoint + const UINT_MAX + const UINT_MIN + const UnionFind + const Xor + var ErrorFloat = -9999.0 + var ErrorNum = -9999 + type Attribute struct + Desc *Desc + Tags []string + func (m *Attribute) GetDesc() *Desc + type Change func(interface{}, int, int) + func ArrayChange() Change + type Compare func(interface{}, interface{}) bool + func ArrayCompare() Compare + type Desc struct + Description string + Example map[int]string + Name string + NameCn string + ParamsDesc map[string]string + Tips string + type GT func(interface{}, int, int) bool + var ArrayGT GT = func(arrayV interface{}, index1 int, index2 int) bool { ... } + type Option struct + Change Change + Compare Compare + FromHighToLow bool + GT GT + HeadInsert bool + IsSmallHeap bool + LimitSize int + MaxSize int + func NewOptions(options ...Options) *Option + type Options func(*Option) + func WithChange(change Change) Options + func WithCompare(compare Compare) Options + func WithFromHighToLow(fromHighToLow bool) Options + func WithGT(gt GT) Options + func WithHeadInsert(headInsert bool) Options + func WithLimitSize(limitSize int) Options + func WithMaxSize(maxSize int) Options + func WithQueueType(smallHeap bool) Options