paper

Testing k-binomial equivalence

arXiv:1509.00622

Abstract

Two words and are said to be -binomial equivalent if every non-empty word of length at most over the alphabet of and appears as a scattered factor of exactly as many times as it appears as a scattered factor of . We give two different polynomial-time algorithms testing the -binomial equivalence of two words. The first one is deterministic (but the degree of the corresponding polynomial is too high) and the second one is randomised (it is more direct and more efficient). These are the first known algorithms for the problem which run in polynomial time.

Cited by in corpus (2)