jjzjj

go - 在 stathat 的 treap 包中重叠?

根据这个linkstathat使用与他们的重叠treap:GoLLRBisgreatandthere'snoreasonyoushouldswitch.Wethoughttheideabehindtreapswasanelegantsolutiontoourproblem,soweimplementedit.WelikedtheinterfacethatGoLLRBprovided,sowemimickeditinourimplementation.Onethingweaddedtothetreappackageistoallowyoutoiterateusinganoverlapfu