Questions tagged [lower-bounds]
251 questions
3
votes
2 answers
Why doesn't decision tree work in case find minimum
When we would like to prove lower bound comparison algorirthm, we often use decision tree, for example sorting by comparisons.
So let's consider find minimum in array $a[1..n]$ by comparison. Lower bound for that problem is commonly known - $n-1$…

user40545
- 573
- 6
- 19
2
votes
1 answer
Lower Bound for Sorted 2-Sum
Given a sorted array of integers $x$ and a target value $t$, determine if there exists a pair $x_i, x_j \in x \wedge i \neq j$ such that $x_i + x_j = t$.
What is the lower bound for this problem?
I know for the generalized $k$-sum (unsorted)…

ryan
- 4,501
- 1
- 15
- 41