Linked Questions

16 votes
2 answers
12k views

Robert Sedgewick, at his Algorithms - Part 1 course in Coursera, states that people usually misunderstand the big-O notation when using it to show the order of growth of algorithms. Instead, he ...
thyago stall's user avatar
1 vote
1 answer
5k views

I occasionally see these terms used and I'm not really sure what is meant by all of them. Is it possible for an asymptotic bound that is not Big $\Theta$ bound to be "tight"? What does it mean for ...
user3450277's user avatar
1 vote
1 answer
3k views

What is the difference between $O$ (big oh) and $o$ (small oh) notations in asymptotic analysis? Even though I understand that $o$ is used for a bound that is not tight, is it allowed to use $O$ ...
smiley's user avatar
  • 21
2 votes
1 answer
1k views

An optimized algorithm for the 3-sum problem with an input array N has O(N^2logN) however I read that the Big Omega for this ...
Dominic Farolino's user avatar
2 votes
1 answer
797 views

Let $W(n)$ and $A(n)$ denote, respectively, the worst case and average case running time of an algorithm executed on an input of size $n$. Which of the following is always true? (A) $A(n) = \Omega(W(...
user1745866's user avatar
0 votes
1 answer
594 views

What would these statements mean if f(n) and g(n) are functions over natural numbers? g(n) is in Θ(f(n)). and An algorithm is in the complexity class Θ(f(n)).
wick123's user avatar
-1 votes
1 answer
355 views

My professor doesn't always know what's actually correct or wrong - he always has to think about it for a very long time and get back to the book and read the book for a long time to answer any of our ...
Hank's user avatar
  • 1
1 vote
1 answer
141 views

As the title states, I am asking for how the big-O in asymptotic analysis is used in theoretical computer science. It would be helpful if an example would be given.
user avatar
1 vote
1 answer
167 views

I've heard of bigO notation but I don't really understand how do I determine it for my code and what exactly does it represent? I heard that there are two: RunTime Memory Complexity How can I learn to ...
Alpha Mineron's user avatar
0 votes
0 answers
109 views

I'm taking my first algorithms class, and the first exam is tomorrow. I've been looking forward to this class since freshman year, but now that I'm in it the professor is less than stellar and I've ...
Jared's user avatar
  • 101
0 votes
0 answers
44 views

I am a newbie here I recently read tutorials on java about collection framework. The time complexity of various objects in reading/writing data What does it mean? ...
MaheshVarma's user avatar
0 votes
0 answers
29 views

Let us suppose the best case running time of an algorithm is $\Theta(n \log n)$. Can the average case run time of the algorithm be $O(n \log n)$? Since $O(n\log n)$ would imply the value going even ...
ephemeral's user avatar
  • 101
0 votes
0 answers
22 views

I'm currently reading about algorithms and big O notation. I have come across som examples which for instance says the following: n is O(n^2) 3n^2 + 7n is O(2n^2 + n) 5n^7 is O(2^n) 3^n is not O(n^...
James L's user avatar
0 votes
0 answers
28 views

In popular literature, complexities are usually used in a very imprecise manner, often to describe the runtime performance of an algorithm and denoted with "$O$". My question is about these Landau ...
David's user avatar
  • 101
0 votes
0 answers
30 views

I am reading this paper named "Matching triangles and basing hardness on an extremely popular conjecture" in the second page of this paper there is this paragraph: Observe that the ∆-Matching-...
user avatar

15 30 50 per page
1
2 3 4 5
8