Apr-04-2023, 05:17 PM
read again my previous post. If you don't care about the sequences that don't satisfy the condition, as you just throw them away, you don't need to generate sequences, till you get one that satisfied the condition.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs