diff --git a/content/blog/stack_recursion.md b/content/blog/stack_recursion.md index 5f807f5..7b99e3e 100644 --- a/content/blog/stack_recursion.md +++ b/content/blog/stack_recursion.md @@ -261,7 +261,12 @@ As before, we push the desired answer onto the stack: {{< stack >}} {{< stack_element >}}{{< /stack_element >}} {{< stack_element >}}1{{< /stack_element >}} - {{< stack_element >}}\(n\){{< /stack_element >}} + {{< stack_element >}} + {{< sidenote "right" "zero-note" "\(n\)" >}} + At this point, we know that \(n\) is equal to 0. However, for the sake of consistency, + and to avoid confusion, I do not substitute 0 here. + {{< /sidenote >}} + {{< /stack_element >}} {{< stack_element >}}factorial{{< /stack_element >}} {{< /stack >}}