Day 78: Pointer Arithmetic with 3-D Arrays

Before jumping back into my printing function I decided to read one more article I had open on multidimensional arrays and wow was it worth it. Sometimes you really don’t know how helpful one more read will be. This article helped me get a lot more comfortable with multidimensional arrays in C. I definitely needed that breakdown. Now I can move forward with a solid base-level understanding of how to get things done the way I want.

TLDR;

Okay, so here are the highlights of what I did:

  • Continued to work on the “Technical Questions” section of the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. Within that, I continued my work on Tree data structures. Started trying to replicate the example pretty print functions provided in the article I am reading through. Read one last article on Multidimensional Pointer Arithmetic. It really clarified how I can work with pointers, especially with type casting. I think I will finish copying that 2-D char array tomorrow and then go to the pretty print. This weekend will be busy so I need to make sure I put the time in. As much as I am learning I still want to make tangible progress on my data structures studies.

I also need to write some notes on type casting with pointers. They would go great right here LOL. Oh well.


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.