Slink.merge

Basic linkedlist merge algorithm. Merges the lists head by fst and snd with respect to cmp

param: fst head of the first list param: snd head of the second list param: cmp a Comparator used to compare elements

struct Slink(V, K = KeyDummy, bool Identity = false, bool HashCache = false)
static
merge

Return Value

Type: Ref

the merged ordered list

Meta