I took some time to review factorials, permutations, and combinations. It felt great when all the nostalgia from high school math classes came flooding back. I actually enjoyed most of them. Went back to example twelve and got a bit lost in how the code represented a permutation calculation. I might spend a bit more time on it before moving on.
TLDR;
Okay, so here are the highlights of what I did:
- Still reading through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. Revisited example twelve after reviewing permutations and combinations in math. The code still confuses me. Before re-reading the explanation I want to try walking through the code slowly by myself. It may take longer but I might have a realization moment that will help me in the future. I hope it doesn’t take me down another rabbit hole lol. This would be the third or fourth time already.
Conclusion
That’s all for today. If you are interested in the MIT course you can check out the video lecture I’m currently going through. The lecture is helpful but isn’t sufficient by itself. Anyways, until next time PEACE!