I walked back and looked at my comparison of two recursive algorithms again. I realized that I may have overblown this whole depth thing a bit too much. I continued where I left off and found three components that I think are consistently important in all recursion algorithms. The positive about this is that if I can prove that it works for algorithms that work with the generic formula it would prove that these components can very likely be used with more complex formula. At the end of the day, I just want consistent features or methods to solve the same types of problems. Currently, each recursion problem feels brand new, this is exactly what I did not want when I chose to start reading up on algorithms and data structures.
TLDR;
Okay, so here are the highlights of what I did:
- Still reading through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. Back at comparing two recursive algorithms to try and find some similarities. I found some similar features but I have to test out whether they work or not on algorithms that use the generic formula. Basically, if my weird consistent features can be applied and get the same answer as the generic formula I can hope that they will consistently help me derive the correct processing times for both simple and complex recursive algorithms.
Conclusion
That’s all for today. This is my sixth round of the “#100daysofcode” challenge. I will be continuing my work from round five into round six. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in term derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.
I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.