Problem 470 · Medium

Implement Rand10()

Implement rand10() using rand7() with rejection sampling to generate uniform random 1-10.

Open the interactive visualisation