Code for Variations with repetition (combinatorics)?

后端 未结 4 1577
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 02:34

Does anyone have Java code for generating all VARIATIONS WITH REPETITION?

There are plenty of permutation and combination examples available, and variations must be

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 03:31

    How to write a brute-force password cracker

    While this is no Java implementation, the part doing the permutations should be quite easy to port in Java.

    I ported it to C with no knowledge of Python, and it worked like a charm.

提交回复
热议问题