Naive algorithm (Subset Sum The Subset-Sum Problem)

From Algorithm Wiki
Revision as of 09:44, 10 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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