Freelance Software Engineer | https://christopherdiep.com
Nice! I have not heard of memoization. I’ll have to research that topic. Thanks, Jason Lim.
The diagram is nice for visualizing how it works.
Good question. As I looked into this, I reviewed how call stack works.
I found out an iterative implementation of mergesort. No recursion if there is a concern for it. The trade-off is slower runtime.