After 30-50 minutes of thinking, read the editorial, but not the code. Then come back to the problem and solve it yourself.
Also learning topics is needed, watch some videos about the topic you are uncertain about.
Hope this helps!
After 30-50 minutes of thinking, read the editorial, but not the code. Then come back to the problem and solve it yourself.
Also learning topics is needed, watch some videos about the topic you are uncertain about.
Hope this helps!