Questions tagged [randomized]

5 questions
10
votes
1 answer

Why is the probability of a false positive not 0 for Freivald's Algorithm?

Freivald's algorithm (see the wiki) is a randomized algorithm for verifying whether the product of two $n \times n$-matrices $A$ and $B$ yields a given matrix $C$ (i.e. $AB = C$). The way this task is accomplished is to introduce a random vector…
Alex B.
  • 103
  • 6
2
votes
0 answers

Decision problem solution monte carlo

I have a rather straightforward question for this community (that I am not able to solve). Assume there is a probability of Tom having a bag of candy. If Tom has a bag, he says the truth 4/5 times and lies 1/5 times. If he does not have the bag, he…
1
vote
1 answer

Questions about Randomized Median algorithm?

In textbook by Mitzenmacher and Upfal here, they write in page 62, the following: By repeating Algorithm 3.1 until it succeeds in finding the median, we can obtain an iterative algorithm that never fails but has a random running time. Note that…
user777
  • 759
  • 4
  • 20
1
vote
1 answer

Randomized communication complexity of indexing

The function $\mathrm{INDEX}:\{0,1\}^n\times\{1,\dots,n\}\to \{0,1\}$ is defined as $$\mathrm{INDEX}(x,i)=x_i,$$ where $x=x_1\dots x_n$. I am looking for the randomized communication complexity of $\mathrm{INDEX}$ for an arbitrary number of…
0
votes
0 answers

Random Teams based on Positions in Sports

I have tried to find an answer to this but haven't found exactly what I'm looking for. I am trying to develop a way in which I can have a random team selected based on skill set (1-5 with 5 being the strongest skilled player) as well as by position…