Nθ Input `n` as a number ζ Input `A``B` ⬤ All characters must match θ Input `n` κ Current index ⊕ Incremented ⌊⟦ ⟧ Minimum E Map over implicit range ζ Input `A``B` ✂ ¹ Sliced from κ Outer index ⁻ Minus λ Inner value ⁻κλ To outer index minus inner value ⁺ Plus θ Input `n` ⊙ Any string satisfies λ Current string L Length ⁼ Equals θ Input `n` ∧ Logical And λ Current string № Contained in η Input `B``A` Implicitly print Nθ Input `n` as a number ζ Input `A``B` ⬤ All characters must match ⁰ Literal zero κ Current index ⁻ Minus θ Input `n` ⊖ Decremented ⌈⟦ ⟧ Maximum κ Current index ζ Input `A``B` L Length ⁻ Minus θ Input `n` ⌊⟦ ⟧ Minimum …· Inclusive range ⊙ Any value satisfies ζ Input `A``B` ✂ Sliced from λ Current value to λ Current value ⁺ Plus θ Input `n` № Contained in η Input `B``A` Implicitly print Loop over the starting index of all substrings of length n in input BA.
Loop over all matches of each substring in input AB.
Check that each index in input AB was recorded at least once.