Oh wow, thank you very much 🚀 Really didn't expect such a lengthy, comprehensible answer. So, thank you very much again! Just thought it's a special technique one could look up and practice but I guess I just have to look into dynamic programming again 👍🏻
Oh wow, thank you very much 🚀 Really didn't expect such a lengthy, comprehensible answer. So, thank you very much again! Just thought it's a special technique one could look up and practice but I guess I just have to look into dynamic programming again 👍🏻
Yeah. Once you do a series of solutions using Dynamic Programming, you'll get a feel for it!
Thanks for the clear explanation Derk-Jan Karrenbeld!
Here is my implementation in Python: