Skip to main content

Questions tagged [asymptotics]

Questions about asymptotic notations and analysis

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

Define $$f\equiv g \iff \exists c,N\quad\forall n>N \quad |f(n)-g(n)|<c$$ What is this called? It is not the same as $$f\sim g \iff \forall \epsilon>0 \quad \exists N \quad \forall n>N \...
Moe's user avatar
  • 103
1 vote
1 answer
31 views

I am reading a paper in which it says: ... adhering to the most resricive memory regime, in which the local memory per machine is strongly sublinear in the number of vertices and the total memory is ...
Shahryar Saljoughi's user avatar
0 votes
0 answers
30 views

What is the difference in the number of bit operations in the given expressions using big O notation: $\sum_{i=1}^n i^2$ $\frac{n(n+1)(2n+1)}{6}$ For 1. there are $n$ additing bit operation and $n^2$...
Antony's user avatar
  • 1
1 vote
1 answer
68 views

So I understand that O is an upper bound and omega is a lower bound. I also understand that case is different than bounds, i.e worst case can have O/Theta/Omega different from best case. My question: ...
user1497350's user avatar
1 vote
0 answers
23 views

In the paper "Optimal Speedup of Las Vegas Algorithms" Luby, M., Sinclair, A. and Zuckerman, D. give an asymptotically optimal sequences for how many time to run an Las Vegas algorithm ...
worldsmithhelper's user avatar
0 votes
3 answers
128 views

I mean, we could in principle use $\Theta$, $\omega,o$ and so on but it seems so that $O$ is a favourite in presenting computational complexities. Why?
Clemens Bartholdy's user avatar
1 vote
0 answers
82 views

Suppose you have an array $a$ of $n$ elements in an set $X$, and a associative binary operation $\circ \ \colon X \times X \rightarrow X$, that can be evaluated in constant time, but is costly (e.g. $...
Fam's user avatar
  • 13
0 votes
0 answers
47 views

I have a number theory algorithm - the details don't matter too much - and it has the following property. Its value is determined by summing up a bunch of sub-functions. And those sub-functions $f_k(...
Nathan McKenzie's user avatar
2 votes
1 answer
132 views

We have an algorithm that has an average time complexity of $O(1)$. We wanted to analyse the generic time complexity of the same algorithm. Our coäuthor claimed that $O(1)$ average-case implies $O(1)$ ...
Sriotchilism O'Zaic's user avatar
1 vote
0 answers
66 views

I'm working on a problem where I have an array arr of size n, and I need to collect the maximum number of coins by jumping ...
netanel shteren's user avatar
1 vote
1 answer
117 views

Let $A[1 \ldots n]$ be an array of $n$ elements, such that each element is at most $\sqrt{n}$ positions away from its position in the fully sorted array. That is, for every element $A[i]$, its ...
Avi Tal's user avatar
  • 385
1 vote
2 answers
82 views

I have been recently reading the classic Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein. However, I'm now a little confused by the interpretations of the phrases "the running ...
The_Eureka'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
1 vote
2 answers
154 views

I know how to prove for $O(n\log n)$, but I'm hitting a roadblock with this one. Here's what I've tried: The hypothesis is that there exists some $c > 0$ so that $T(n) \geq cn \log n $, by assuming ...
jojusuar's user avatar
0 votes
0 answers
81 views

I have been self-studying the performance of certain algorithms and I have come across a recurrence which I am not sure how to analyse the asymptotic performance. $ \begin{align} x_0 &= 0 \\ ...
Sam Taaghol's user avatar

15 30 50 per page
1
2 3 4 5
100