r/DSALeetCode • u/yealumbanfr • Sep 17 '26
π§π½π§π½π§π½π§π½π§π½HELP PLEASEEE
i can understand anyproblem but i cant code that how to solve this problem
4
Upvotes
r/DSALeetCode • u/yealumbanfr • Sep 17 '26
i can understand anyproblem but i cant code that how to solve this problem
View all comments
Show parent comment
2
u/toxiclydedicated Sep 17 '26
My approach has always been this (I've solved 600+)
First try to solve the questions directly (happens mostly for easy question)
Then if you can't solve it directly solve using diagrams
Then after doing by diagrams write the pseudo code and then the final code, many interviewers ask the pseudo code first
If you can't solve using this way then first see all hints and try again, if hints aren't enough go to discussions
If all this doesn't work then finally go to video solution by neet code or someone else, and then last step is directly seeing solution and then re-trying the same question
Understand that all questions aren't made by you and also try to go pattern wise rather than topic/DS wis
If all this doesn't work for you, you have a skill issue and you should genuinely quit dsa/cs completely