Skip to content

Commit

Permalink
update Ch13
Browse files Browse the repository at this point in the history
  • Loading branch information
rambasnet committed Nov 8, 2024
1 parent 6041997 commit 043edc2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions notebooks/Ch13-Recursion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,13 @@
"metadata": {},
"source": [
"### Factorial definition\n",
"\n",
"```\n",
" 0! = 1 (base case)\n",
" n! = n.(n-1)! for n >= 1 (general case)\n",
" 1! = 1 (base case)\n",
" n! = n.(n-1)! for n > 1 (general case)\n",
"```\n",
"- Exercise - Implement factorial recursive solution\n",
" - left as an exercise"
"\n",
"- Exercise - Implement factorial recursive solution"
]
},
{
Expand Down

0 comments on commit 043edc2

Please sign in to comment.