MindSumo | Next Challenge: Help us find a great name for our new line of Pure Leaf ready-to-drink teas |
Return a random object from the stream
Suppose you have a stream object. This stream object ONLY has two methods. They are:
HasNext() - returns a boolean if there are more items in the stream
GetNext() - returns the next item in the stream
Given a stream such as this one, return a random object from it. No, the stream cannot be reset.
-
Submissions will be graded on the following criteria:
- Meets Deliverables
- Creativity
- Clarity
Reward Tiers
5 Winners
will receive $15 each
Leaderboard
$15.00 | Hoa Mai University of California at San Diego | ||
$15.00 | Thomas Dorsey University of Michigan | ||
$15.00 | Rushabh Pasad Rochester Institute of Technology | ||
$15.00 | Matthew Adelman Wesleyan University | ||
$15.00 | Anshuman Sahoo University of Toronto |
Submission questions