Given a stream of numbers, generate a random number from the stream. You are allowed to use only O(1) space and the input is in the form of ...
確定! 回上一頁