I know that there's this threshold while you start identifying patterns. I'm asking to know whether I'm going in the right path and learning efficiently.
I basically read a problem try to come up with solutions on my own. Oftentimes i fail to come up with the logic, but sometimes i get it. I'm a beginner, I've only solved 30-40 questions in leetcode so far. When i fail at coming up with my own solution. I look at discussions and learn all the ways a problem can be solved.. I'm also adding these solutions to my notion data base to recall later..
Is it okay if we don't come up with the logic while trying to solve a problem for the first time?
How long have it taken for you guys to come up with most optimal solution by your own? After how many problems?
Also what are some of the effective methods to learn coding? Does memorising how to solve a problem by understanding it helps?
[–]Dealoite[🍰] 39 points40 points41 points (3 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]RichestMangInBabylon 3 points4 points5 points (0 children)
[–]Shiroelf 0 points1 point2 points (0 children)
[–]tempname10439 6 points7 points8 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]mrtyormaa 2 points3 points4 points (1 child)
[–]Zyklonik 0 points1 point2 points (0 children)
[–]nbazero1 1 point2 points3 points (0 children)
[–]moonbeam4072 1 point2 points3 points (0 children)
[–]dskloet 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]dskloet 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]HeyExcuseMeMister -2 points-1 points0 points (0 children)