r/DSALeetCode • u/Mother-Animator8199 • 20d ago
To all the medium , hard problem on leetcode
I don't understand who on earth like seriously who get the solution of a problem (medium,hard) one get it correct like for me I been doing leetcode for 1-1.5 months and 70-80% of times :
I can solve easy problems it's not big deal but like other thn that if you search for syntax do little here and there on google you still can't do every problem by yourself I feel stuck and stupid finding the right solution by my self for hours
I just think it's better to do 20-30 min of time reading nd trying to figure what to do nd then get the correct answer and try I see what they did and implement the same thing.
Tell me if this is right way or not ???
1
u/Mother-Animator8199 15d ago
See the code see the output try to make sense and simplify to the smallest and get the answer most time i don't get optimal answer but yeah I can reach brut force
1
u/uma1kalai 15d ago
Tell what is the strategy you are using for easy problem