S
S
SuperToster2020-04-09 23:41:26
PHP
SuperToster, 2020-04-09 23:41:26

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

1 answer(s)
D
Daria Motorina, 2020-04-10
@SuperToster

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 question

Ask a Question

731 491 924 answers to any question