StackOverflow Questions for Tag: space-complexity

codeR
codeR

Reputation: 322

Can quicksort be implemented in C without stack and recursion?

Score: 3

Views: 14811

Answers: 6

Read More
someone12321
someone12321

Reputation: 755

Memory-constrained coin changing for numbers up to one billion

Score: 24

Views: 1946

Answers: 2

Read More
domath
domath

Reputation: 202

Improve computational time and memory usage of the calculation of a large Matrix that has four loops

Score: 1

Views: 118

Answers: 2

Read More
459zyt
459zyt

Reputation: 65

Using bitwise operations to simulate an N-length hash table: is space complexity O(1) or O(n)?

Score: -2

Views: 85

Answers: 1

Read More
lordgort
lordgort

Reputation: 3

Why isn't the space complexity of program adding values to a letter keyed hash map linear?

Score: 0

Views: 38

Answers: 3

Read More
ariko stephen
ariko stephen

Reputation: 127

Space and time complexity of flattening a nested list of arbitrary depth

Score: 3

Views: 131

Answers: 1

Read More
committedandroider
committedandroider

Reputation: 9251

What is space complexity for breadth-first search on a binary tree?

Score: 2

Views: 2438

Answers: 1

Read More
Brainless
Brainless

Reputation: 1758

Is a trie equivalent to std::map<std::string, int> in C++?

Score: 5

Views: 3500

Answers: 3

Read More
aminy
aminy

Reputation: 489

Will Arrays.sort() increase time complexity and space time complexity?

Score: 35

Views: 73008

Answers: 8

Read More
YumekaMengjiaLYU
YumekaMengjiaLYU

Reputation: 153

Space complexity for recursive calls on binary search tree

Score: 3

Views: 54

Answers: 1

Read More
chilliefiber
chilliefiber

Reputation: 651

Space complexity of grouping anagrams with hashmap

Score: 1

Views: 72

Answers: 1

Read More
Ricardo
Ricardo

Reputation: 13

What is the Time Complexity and Space Complexity of extending a string according to a rule?

Score: 0

Views: 85

Answers: 1

Read More
Schadenfreude
Schadenfreude

Reputation: 11

Space complexity of backtracking algorithm

Score: 1

Views: 1121

Answers: 1

Read More
CodeCrusader
CodeCrusader

Reputation: 319

Find minimum cost to buy products

Score: 2

Views: 176

Answers: 1

Read More
user2340939
user2340939

Reputation: 1981

Floyd–Rivest vs. Introselect algorithm performance

Score: 10

Views: 2828

Answers: 1

Read More
Aiden
Aiden

Reputation: 31

Two implementation methods of BFS for finding the shortest path, which one is the obvious winner?

Score: 1

Views: 3332

Answers: 1

Read More
Lily-Heather Crawford
Lily-Heather Crawford

Reputation: 140

Why must skip lists hold duplicate elements within the same tower?

Score: 1

Views: 192

Answers: 2

Read More
Steven Zeng
Steven Zeng

Reputation: 19

What are the fundamentals of calculating space complexity in loops?

Score: 1

Views: 530

Answers: 3

Read More
James Foxwood
James Foxwood

Reputation: 11

Runtime for finding smallest common divisor of 2 strings

Score: 1

Views: 263

Answers: 2

Read More
Boddha
Boddha

Reputation: 177

Remove an element from the array (Python): time and space complexity

Score: 0

Views: 90

Answers: 3

Read More
PreviousPage 1Next