From Exponential to Polynomial Complexity: Efficient Permutation Counting with Subword Constraints. - Martin Mathew; Javier Noda (CoRR, 2024)