combinações

Array permutation

Ladies and gentlemen, I would like to generate an anagram of the possible combinations. Ex: "123456" would generate: 1234 234 ... d if you pass the array with repeated values it returns nothing! 1,1,2,3 , he would have to return 1,1,3 1,1,2 2,1,1 etc.

Generate mathematical combinations with array in PHP

Generate all possible combinations of 15 elements from an array with 17 items. This is a hypothetical situation. It should su ... 2", "23"]; array2 = ["2", "4", "5", "6", "7", "9", "10", "12", "15", "16", "18", "20", "21", "22", "24"]; //etc... etc...

Generate list / array bringing all combinations of N elements taken p to P in python 3

Example: A B C D 4 elements result: WITH TWO ELEMENTS AB AC AD BC BD CD WITH THREE ELEMENTS ABC ABD ACD BCD

How to generate / calculate the value of Binomial Poisson and Normal tables in Java

I'm doing some work in Java to calculate the statistical probabilities, I don't know is how to generate the Binomial and Norm ... ability table to look for where n is 5 and p 0.05 and X whatever the user says. The problem is in generating the table value.

Python excel csv columns

I made this generator of numbers that are saved in a csv file that I open in excel, the combinations are generated in Column ... arquivo.write(str(lista1)) lista_guardar = lista.append(arquivo) print(lista_guardar)

Combining two lists in Python

I need a code that finds out the possible passwords in a universe of LLLDDD (L=letter, d=digit), I found it easier to apply t ... dpossiveis: senhas.append(lpossiveis[i], dpossiveis[i]) return senhas But it is not creating the third list.