Expand description
Generate a random shuffle of the numbers between start (inclusive) and end (exclusive) in O(1) space.
No repeats will be generated. No number in the range won’t be generated.
Generate a random shuffle of the numbers between start (inclusive) and end (exclusive) in O(1) space.
No repeats will be generated. No number in the range won’t be generated.