Iteration based (Tower of Hanoi Tower of Hanoi)

From Algorithm Wiki
Revision as of 08:51, 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)$

Space Complexity

$O(n)$ bits

(Only need to keep track of current configuration)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1883

Reference

NA