This problem sucks! Frankly, I gave up and so far, failed! I say ‘so far’ because I may come back to this problem. I got frustrated and then annoyed and then bored. I couldn’t get the data structures straight in my head and was losing interest because really, I want to get out of CS50 and into more interesting topics like learning AI or data science, etc.
Side note, I think of course everyone wants to learn AI, but data science may be more interesting and accessible with the types of problems on Kaggle. We’ll see.
Back to Tideman. Some quick thoughts
- Definitely do Plurality and Runoff to get your mind working in the type of problem area. Pen and paper are probably required to sketch out the data and logic.
- Clearly as so far defeated by Tideman, perhaps the biggest challenge in coding is simply being able to figure out [design] how to abstract the problem space and logic into code. Particularly:
- What data structures are required
- The logic required to manipulate/use those data structures to solve the problem
Let’s see if I come back to this or just move on.