Data-Driven-World / d2w_ml_notes

Notes for Data Driven World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider a simpler example for Divide-And-Conquer

otakuprof opened this issue · comments

Currently, the divide-and-conquer begins by using summing of an array to illustrate the ideas.

We could start by illustrating how a recursive version of a factorial can be derived. This will be more familiar to students.

https://github.com/Data-Driven-World/d2w_notes/blob/master/Divide_Conquer.ipynb

@otakuprof , thanks Norman. I did put factorial example after the summation example since I thought factorial is more complicated as compared to summing. I'll consider this. In the mean time, I will close the issue first.