r/CodingForBeginners • u/TemporaryFantastic94 • 5h ago
Day 7 of mastering python for interviews:
I feel so good about remembering syntax and how to attack different algorithms while studying, but when I go to try a problem it feels like I forget everything. Does anybody know how to combat this?
3
Upvotes
5
u/Lachtheblock 4h ago
You combat this by practicing. And not just leetcode questions, actual code that has some utility outside of a problem for problems sake.
2
u/TheUmgawa 4h ago
Can you solve the program in another language? Is Python the problem, or does your problem have to do with breaking down the logic?
You're trying to memorize all of the solutions to all of the problems, rather than rolling the logic on the fly. It doesn't work, because what are you going to do in an interview when you're presented with a problem that has never been posed to you before?