warm up
Suppose you have a length
Process a sequence of
Restrcition: Do this with
Solution:
For each
one level harder
Same problem as before, but remove the restriction that there is only one non-zero value. Now your goal is to return any non-zero value.
Same memory constraint.
Algorithm is allowed to be randomized.
Solution: Apply the sketch from the warmup to random subsets of the coordinates, with probabilities that are incremented in power of two steps.
Application
application to some parallel (?) graph problem.