Testing k-binomial equivalence

Abstract

Two words w1 and w2 are said to be k-binomial equivalent if every non-empty word x of length at most k over the alphabet of w1 and w2 appears as a scattered factor of w1 exactly as many times as it appears as a scattered factor of w2. We give two different polynomial-time algorithms testing the k-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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…