You have a stream of data coming in of size n, but you don’t know what n is ahead of time. Can you write an algorithm that will take a random sample of k elements?
0
Service report
It's been a while since this question is posted here.
Still, the answer hasn't been got.
Consider converting this question to a fully qualified assignment, and we will try to assist.
Please click the link below to proceed: Submit order
Comments
Leave a comment