Practice Memory Diagram


Snippet

    def f(n: int) -> int:
        if n == 0:
            return 1
        else:
            return f(n-1) * 2

    print(f(3))

Solution

Image Description Here

Image Description

(Coming Soon)

Contributor(s): Alyssa Lytle