Summary of the practice of red envelope algorithm with upper and lower limits
入参:
最小红包min
最大红包max
红包总额total
红包数量count
思路:
先预留count份min
其余的做随机
Summary of the practice of red envelope algorithm with upper and lower limits
入参:
最小红包min
最大红包max
红包总额total
红包数量count
思路:
先预留count份min
其余的做随机