Answer the question
In order to leave comments, you need to log in
How to generate combinations of letters by mask?
Hey!
We need all possible combinations of Latin letters by masks.
Can you please tell me from which side to sneak up on the problem?
Answer the question
In order to leave comments, you need to log in
In my opinion, it’s just an array of letters of the alphabet, from it generate combinations in pairs and separately file a function that will take two letters and a mask as arguments and generate the final combination. The script for unique combinations is somewhere on the gist in php, but it can also be written through foreach.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question