Implement Reservoir Sampling; Analyze Time and Space Complexity | Amazon