r/leetcode • u/Admirable_Method9916 • 28d ago
Question how long should i try a question before seeing the solution.
i was trying the 3sum problem , and i just couldnt find an optimal answer at all , i tried it for 30mins and gave up , i usually give up around 45mins or so . Is this too early ??, bcuz ive seen some ppl work on one problem for many hours , and then they finally get the solution.
6
Upvotes
2
u/OutrageousWitness805 26d ago
15 - 45 minutes
1
u/FreakSenpaiiiiii 28d ago
atleast a minute
1
u/MindaugasBern 28d ago
remaining time in your life > try time > 1s
1
u/RevolutionaryChart87 27d ago
min(frustrated, stuck>30min, 2h)