Top "Asymptotic-complexity" questions

Computational complexity theory is a branch of the theory of computation in theoretical computer science and mathematics that focuses on classifying computational problems according to their inherent difficulty.

Difference between Big-O and Little-O Notation

What is the difference between Big-O notation O(n) and Little-O notation o(n)?

algorithm time-complexity big-o asymptotic-complexity little-o
Time Complexity of the Kruskal Algorithm?

I am calculating time complexity for kruskal algorithm like this (Please see the algorithm in the Image Attached) T(n) = …

algorithm time-complexity graph-algorithm asymptotic-complexity kruskals-algorithm
how to apply binary search O(log n) on a sorted linked list?

Recently I came across one interesting question on linked list. Sorted singly linked list is given and we have to …

algorithm data-structures linked-list binary-search asymptotic-complexity
Complexity of the recursion: T(n) = T(n-1) + T(n-2) + C

I want to understand how to arrive at the complexity of the below recurrence relation. T(n) = T(n-1) + T(…

algorithm complexity-theory time-complexity recurrence asymptotic-complexity
Asymptotically optimal algorithm to compute if a line intersects a convex polygon

An O(n) algorithm to detect if a line intersects a convex polygon consists in checking if any edge of …

algorithm line computational-geometry asymptotic-complexity convex-polygon
Asymptotic complexity of .NET collection classes

Are there any resources about the asymptotic complexity (big-O and the rest) of methods of .NET collection classes (Dictionary<…

.net collections big-o asymptotic-complexity
Throwing cats out of windows

Imagine you're in a tall building with a cat. The cat can survive a fall out of a low story …

algorithm language-agnostic dynamic-programming asymptotic-complexity
If f(n) = o(g(n)) , then is 2^(f(n)) = o(2^(g(n)))?

Notice that I am asking for little-o here (see similar question here) - for big Oh it's clearly wrong - …

computer-science asymptotic-complexity little-o
Proving that a function f(n) belongs to a Big-Theta(g(n))

Its a exercise that ask to indicate the class Big-Theta(g(n)) the functions belongs to and to prove the …

asymptotic-complexity inequality big-theta
Trouble understanding little-o notation example

I'm having trouble with this one problem 9n <= cn^3 basically I can get down to 9/c <= n^2 But …

algorithm big-o notation asymptotic-complexity little-o