Daily algorithm practice: More Big O!
Cracking the Coding Interview: VI.2
Oh look, recursion, lmao.
One mistake I used to make was assuming that recursion automatically means a super complicated runtime. That's just not always going to be the case, and I understand this much better now.
If I pick a few arbitrary values of b and trace through the execution...
Comments
Post a Comment