Efficiently Generating a Number in a Range | Dark Hacker News