P&C 2104: forming words

In this question, we first rearrange the letters of a word under the following conditions:

  • no restrictions,
  • XX and YY not next to one another
  • between any two XXs there must be at least kk other letters
  • consonants and vowels must alternate

We then proceed to form 3/4-digit codewords.

App preview

Access the app at https://2103.vercel.app.