Skip to main content

Questions tagged [probabilistic-algorithms]

Questions about (typically randomized) algorithms that can produce no or an incorrect answer with a certain probability.

Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

It is known that BPL $\subseteq$ P where BPL is the class of languages that have a probabilistic Turing machine which decides input correctly with probability $\ge \frac{2}{3}$ and always halts ...
advocateofnone's user avatar
1 vote
1 answer
86 views

Consider the following randomised distributed algorithm for computing (constant-approximation) maximum matching. The algorithm has $\log ∆$ iterations indexed by $i∈{0,1,2,\ldots,\log ∆− 1}$. We ...
cartman's user avatar
  • 21
0 votes
0 answers
76 views

Skip lists work in layers. My question is no more than that: What is the expected number of layers in a skip list with the parameter $p \in (0,1)$? My best attempt to so far is $$\sum_{i = 1}^\infty i ...
coderodde's user avatar
1 vote
0 answers
59 views

This is about the proof of Lemma 5.13 in the well-renowned book Motwani R, Raghavan P. Randomized Algorithms. Cambridge University Press; 1995. Access with institutional login: link. (The lemma is in ...
M G's user avatar
  • 11
5 votes
1 answer
219 views

The book Arora and Barak defines class IP (interactive protocol) by making the verifier have private coins. Before proceeding to public coin proofs and showing they are the "same," the book ...
advocateofnone's user avatar
0 votes
0 answers
36 views

I wonder how should I state the communication complexity when having a linear PCP combined with another protocol? May I ask that if I have a protocol that utilizes a linear PCP that has proof length n,...
js wang's user avatar
  • 101
0 votes
0 answers
34 views

In HyperLogLog, we estimate cardinality using the Harmonic Mean of the maximum number of leading zeroes observed across hashed values. The final estimate is derived using P(at least max_zeroes) rather ...
Anish's user avatar
  • 1
1 vote
3 answers
213 views

Given an array 𝑎[1..𝑛] containing half zeros and half ones, we need to find a position in 𝑎 that contains the value 1. Consider the following two algorithms: Algorithm 1 ...
user179480's user avatar
0 votes
0 answers
75 views

Q) Assume that the success probability of a probabilistic algorithm $M$. In other words, a probabilistic Turing machine, satisfies $p_{succ} \geq \frac{1}{p(n)}$, for some polynomial $p(n)= O(n^c)$ ...
MathPlease's user avatar
3 votes
1 answer
137 views

For $n$ elements, a two-level hash table contains an $O(n)$ top-level hash table whose entries are hash tables also. Each table samples from a 2-universal family. To hash an element $x$, we first hash ...
thh's user avatar
  • 31
4 votes
0 answers
86 views

Given an arbitrary metric space $M=(X,d)$, is there a $(1+\epsilon)$-approximate algorithm (maybe probabilistic or randomized) that can estimate the diameter of $X$? This algorithm should be faster ...
user43464's user avatar
  • 141
1 vote
0 answers
36 views

I'd like to disribute the HeavyKeeper algorithm. So far I couldn't find resources on how to merge two HeavyKeeper data structures. Is this even possible without scraficing accuracy?
Karsten's user avatar
  • 111
0 votes
1 answer
54 views

Suppose that I would like to divert 10% of requests coming into an API to some other service. The request needs to be sent to the service at the time the request is processed. The requests should be ...
Jeremy Fisher's user avatar
2 votes
0 answers
50 views

Let's say I have a random variable $V$ which takes values from the finite set $V = \{v_1, v_2,...,v_N \}$. I want to pick one value randomly based on given probabilities $p_i = \Pr(V=v_i)$. Let's call ...
Hamed's user avatar
  • 121
3 votes
1 answer
167 views

The complexity class BPP requires that the running time be guaranteed polynomial, though with only a 2/3 chance of the correct output. ZPP, on the other hand, guarantees correct output, but now only ...
Mike Battaglia's user avatar

15 30 50 per page
1
2 3 4 5
16