3 ms·
From the definition, they should be. It only says every permutation should exist as a substring, not that it should only exist once.
by vintermann 3y ago
From the definition, they should be. It only says every permutation should exist as a substring, not that it should only exist once.