Suppose I have an array of 15 numbers, namely [0,1,2...14], how do I generate an array (or arraylist) which contains any 100 permutations of the given array? (The target array will have 100 elements, where each element is a permutation of the given array. )
Read my article on Permutations with Java 8 ! and you will be able to complete your task!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.