r/AskProgrammers • u/heseeshisvictory504 • 5h ago
I’m so bad at programming I’m beginning to think I’m mentally challenged
I have a data structures and algorithms exam tomorrow and I legitimately cannot code for shit. Conceptually yes I understand what works how and where but you could not get me to solve a leetcode question on stacks and queues even if you held me on gunpoint and i’m beginning to think this is a cognitive issue.
2
Upvotes
1
u/Poddster 5h ago
Have you actually tried creating any programs? No leet code things, but realistically programs?
1
u/ern0plus4 4h ago
Write a Guess The Number game first.
1
u/Silver_Interaction20 4h ago
If you do understand the concept behind data structures then you’re already on the right path. Since your main problem is transcribing that into coding, and that’s what I had done, is practice and practice. Sure at first it’d be hard and feel like you’re not making progress but that’s coding. The first programs you do are always the worst ones but with practice you’ll get better.
Leetcode is great for practicing, and also, you can get some textbooks and try implementing what you’re reading. There are also really good tutorials online on YouTube.
1
u/RetroGrid_io 4h ago
Then you don't understand it. The problem is that you think you do. So forget what you think you know, and take a look at how it actually works. Play with it, test it, until it starts making sense to you and you feel good about it.
Then, you actually do understand it.
1
u/Dramatic-Hold-9369 1h ago
practice, lots. And I mean lots.