Naive algorithm (Subset Sum The Subset-Sum Problem)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O({2}^n * n)$

Space Complexity

$O(n)$ words

(https://dl.acm.org/doi/10.1145/321812.321823)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1940

Reference