Generating unique 6 digit code

前端 未结 6 2092
鱼传尺愫
鱼传尺愫 2020-12-28 10:06

I\'m generating a 6 digit code from the following characters. These will be used to stamp on stickers.
They will be generated in batches of 10k or less (before printing)

6条回答
  •  半阙折子戏
    2020-12-28 10:44

    You would have 21 ^ 6 codes = 85 766 121 ~ 85.8 million codes!

    To generate them all (which would take some time), look at the selected answer to this question: algorithm that will take numbers or words and find all possible combinations.

提交回复
热议问题