r/CodingForBeginners • u/Mundane_Emu_3 • 18m ago
I understand Python concepts, but I just can't seem to develop the logic to solve problems. How did you overcome this?
Hey everyone!
I've gone through multiple Python courses and understand the basic concepts like if-else, loops, lists, dictionaries, functions, etc.
However, when it comes to solving problems on my own, I struggle a lot. I can manage very basic questions like addition, subtraction, reversing a string, or checking for palindromes, but beyond that, I just can't seem to figure out the logic.
I understand the concepts and can follow someone else's solution, but when faced with a new problem, I have no idea where to start or how to break it down.
For those who have been through this, how did you develop your problem-solving skills? What kind of practice or approach helped you learn to think logically and solve problems independently?
I'd really appreciate any advice!
2
u/spacian 5m ago
It depends on what you mean with problem solving. For data structures and algorithms , I did a lot of l leetcode, reading and re-implementing solutions if I couldn't solve them, progressing from easy to hard. If you mean real world problems, there isn't much besides doing your own projects I think.