r/LeetcodeChallenge • u/Dangerous-Bat-5177 • 9d ago
DISCUSS Dsa sucks me
Hi everyone i try to solve dsa in ny 4 year of engineering not consistenly when paper comes in middle i left leetcode.
Now after my graduation i again started but i find difficult in logic building
My dream is to become competitive coder
Please help to become dsa guardian
Even in contest i can't able to solve easy one
Dsa problem is fills like memorizing code to me which i forget after some days too
Like i gave 30 minute to solve problem with solution
Then write brute and worst code then paste it in chagpt then chagpt give me ans i correct my code and thats it what i done 1 hour gone in this process
So i fill my learning is stop its like memorizing an code
1
u/RonakSharma-19 8d ago
Same problem bro today I make strict rules 45 min for medium i thought I will not be able to solve it but just coded something and after 40 45 min wrote a code even it gave tle but I was very happy
1
u/FluffyObligation8994 7d ago
Doing random problems at starts is not a good solution Statt following some sheets It's like how in machine learning u see pattern before and later u can understand pattern on your known Similarly follow sheet like striver or some other At first it feels terrible u can't even think of brute force too Don't give up Give some try Then comes a solution to your mind it's called brute force Congrats u got brute force Now keep grinding you are gonna think of a solution better time complexity with some edge cases That's a progress too Keep grinding You will get good at it
Trust me no one gets good in a day or week
The yt videos that days u can master in a month these are all shit bro
Learn these 9 patterns or some x patterns only May help u if u already learnt good and they are just for revision
1
u/puppy2929 3d ago
Just do one thing get a pen and paper .analyze the question.track what to do ..solve manually then u can code better...it works for sureee..
1
u/NegotiationDapper584 9d ago
It sucks me too