I'm currently tackling C programming for the first time in a university course, but my background is actually in humanities and I've mostly worked with higher-level languages like Swift and Python. While I enjoy coding, I'm struggling with the logical problem-solving aspects of C assignments. I often feel overwhelmed by the tasks, like when I'm asked to write a program that converts seconds into hours and minutes—it's as if my mind just goes blank. I've been reading "Think Like a Programmer," but I know I need more practical exercises. I'm wondering if practicing on LeetCode or similar sites would help, and if there are any other resources specifically focused on logical thinking and problem-solving in programming without diving too deeply into math. Any recommendations?
2 Answers
I totally relate to your struggle! Have you tried platforms like Codecademy or freeCodeCamp? They focus on practical exercises that enhance your problem-solving skills without getting too heavy on the math. Plus, getting familiar with C through small projects can really help solidify your understanding!
When I think about logical thinking, I typically break down the problem step by step. It helps to dissect a task into smaller, manageable parts. For example, start by writing down what the program needs to do—like converting seconds into hours and minutes step by step. That way, you can address each part one by one. Also, consider practicing some simple coding exercises to train your brain to think logically. It might take time, but you'll definitely improve!
I get that! Sometimes just breaking it down makes it less daunting. I’ll try that approach with my assignments!

Thanks for the tips! I’ll check those out for sure. I really want to get more hands-on practice.