Search code examples
Is there a way to compute if some elements of an array sums up to a given target without bruteforce...


algorithmtime-complexity

Read More
Does it make sense to use big-O to describe the best case for a function?...


time-complexitybig-ocomplexity-theorytheorydiscrete-mathematics

Read More
Is O(mn) better than O((m+n)^2)?...


algorithmtime-complexitybig-o

Read More
Real Weights Knapsack in polynomialtime...


runtimetime-complexityknapsack-problemnp

Read More
rev_append vs (append or @)...


functional-programmingtime-complexityocaml

Read More
Why is O(log(n)) coming equal to O(log(n!))?...


algorithmtime-complexitybig-ocomplexity-theory

Read More
How is the time complexity of deletion N steps aka O(n)?...


arraysdata-structurestime-complexity

Read More
Fastest way to find all paths in a directed acyclic graph (DAG) with multiple starting nodes?...


pythonalgorithmperformancetime-complexitygraph-theory

Read More
What is the complexity evaluation of O(m * n) + O((m + n) * log(m + n))...


pythonalgorithmtime-complexity

Read More
Codility test - find multiples in range...


c#algorithmtime-complexity

Read More
what is the time complexity of T(n)= 3T(n/2) + n^2?...


recursiontime-complexity

Read More
LRU cache in Java with Generics and O(1) operations...


javagenericsdata-structurestime-complexity

Read More
How does gensim manage to find the most similar words so fast?...


pythontime-complexitygensimword2vecsimilarity

Read More
Example of algorithm which has different worst case upper bound, worst case lower bound and best cas...


algorithmtime-complexitybig-o

Read More
Number of N-digit numbers that are divisible by given two numbers...


algorithmtime-complexitylargenumber

Read More
How to determine the time complexity of the nested loop?...


c++time-complexity

Read More
Complexity when generating all combinations...


algorithmlanguage-agnosticbig-otime-complexitycombinations

Read More
Why multiset keeps separate instances of repeated elements instead of their count?...


c++time-complexitymultisetunordered-multiset

Read More
Why SortedDictionary.GetEnumerator() is an O(log n) operation in C# according to Microsoft Docs?...


c#time-complexitysortedsetsorteddictionary

Read More
What would be the average performance (big O notation) of this sorting algorithm...


performancemathrandomtime-complexitybig-o

Read More
Master theorem solution for the case d=log_b(a)...


algorithmrecursiontime-complexityrecurrencedivide-and-conquer

Read More
Time complexity of the Heap pop operation...


data-structurestime-complexityheap

Read More
Finding triplets code fails in debugging its throwing garbage value...


arrayspython-3.xalgorithmdata-structurestime-complexity

Read More
Time and space complexity of x[::-1] when x in a string...


pythontime-complexityspace-complexity

Read More
Getting time and space complexity of a JS function...


javascripttime-complexityspace-complexity

Read More
Given a binary tree, determine if it is height-balanced(difference in depth is not mroe than 1) (lee...


javascriptdata-structurestime-complexitybinary-search-treedepth-first-search

Read More
How can I find the right complexity for the python code...


pythontime-complexitybig-o

Read More
Reduce the complexity of the algorithm to construct a directed graph (DAG) from an undirected graph ...


rtime-complexityigraphgraph-theorytidygraph

Read More
JavaScript charAt() runtime...


javascripttime-complexity

Read More
Need help in understanding the answer of the Big-O complexity for this code...


ctime-complexity

Read More
BackNext