Design a Randomizer class with O(1) random method
Filed under ElasticDevs
The question
Implement a Randomizer class supporting add, remove, and a random method that returns a random number in O(1) time complexity.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.