Global Information Lookup Global Information

Space complexity information


The space complexity of an algorithm or a data structure is the amount of memory space required to solve an instance of the computational problem as a function of characteristics of the input. It is the memory required by an algorithm until it executes completely.[1] This includes the memory space used by its inputs, called input space, and any other (auxiliary) memory it uses during execution, which is called auxiliary space.

Similar to time complexity, space complexity is often expressed asymptotically in big O notation, such as etc., where n is a characteristic of the input influencing space complexity.

  1. ^ Kuo, Way; Zuo, Ming J. (2003), Optimal Reliability Modeling: Principles and Applications, John Wiley & Sons, p. 62, ISBN 9780471275459

and 16 Related for: Space complexity information

Request time (Page generated in 0.875 seconds.)

Space complexity

Last Update:

The space complexity of an algorithm or a data structure is the amount of memory space required to solve an instance of the computational problem as a...

Word Count : 994

Computational complexity theory

Last Update:

In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource...

Word Count : 6302

Complexity

Last Update:

Kolmogorov complexity are studied: the uniform complexity, prefix complexity, monotone complexity, time-bounded Kolmogorov complexity, and space-bounded...

Word Count : 4257

Game complexity

Last Update:

Combinatorial game theory measures game complexity in several ways: State-space complexity (the number of legal game positions from the initial position)...

Word Count : 2841

Asymptotic computational complexity

Last Update:

asymptotic time complexity and asymptotic space complexity are commonly estimated. Other asymptotically estimated behavior include circuit complexity and various...

Word Count : 304

Algorithmic complexity

Last Update:

the time/space complexity of a particular problem in terms of all algorithms that solve it with computational resources (i.e., time or space) bounded...

Word Count : 158

Computational complexity

Last Update:

In computer science, the computational complexity or simply complexity of an algorithm is the amount of resources required to run it. Particular focus...

Word Count : 2976

Quicksort

Last Update:

i\right)=O(n\log n).} The space used by quicksort depends on the version used. The in-place version of quicksort has a space complexity of O(log n), even in...

Word Count : 9985

Complexity class

Last Update:

particular, most complexity classes consist of decision problems that are solvable with a Turing machine, and are differentiated by their time or space (memory)...

Word Count : 10356

Analysis of algorithms

Last Update:

the number of steps it takes (its time complexity) or the number of storage locations it uses (its space complexity). An algorithm is said to be efficient...

Word Count : 3682

Cyclomatic complexity

Last Update:

Cyclomatic complexity is a software metric used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent...

Word Count : 2912

Time complexity

Last Update:

the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly...

Word Count : 5004

Merge sort

Last Update:

since the space complexity for quicksort is O(log n), it helps in utilizing cache locality better than merge sort (with space complexity O(n)).On the...

Word Count : 6677

Binary search algorithm

Last Update:

memory locations, regardless of the size of the array. Therefore, the space complexity of binary search is O ( 1 ) {\displaystyle O(1)} in the word RAM model...

Word Count : 9609

PSPACE

Last Update:

computational complexity theory, PSPACE is the set of all decision problems that can be solved by a Turing machine using a polynomial amount of space. If we...

Word Count : 981

Cycle detection

Last Update:

performing as few subroutine calls as possible. Typically, also, the space complexity of an algorithm for the cycle detection problem is of importance: we...

Word Count : 4183

PDF Search Engine © AllGlobal.net