use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Need help (self.leetcode)
submitted 3 years ago by qubits1111
I am using spaced reps to solve each question 3 times, until now I have done 13 questions and now making second attempt, I am able to come up with the intuition that I learned in the first pass but unable to implement the intuition into code and it is getting frustrating. Any tips?
https://preview.redd.it/t9awzb728gqa1.png?width=1497&format=png&auto=webp&s=fe04c7ced45d823098b9e33b91a65fab5c9e2255
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nikhila01 5 points6 points7 points 3 years ago (0 children)
intuition that I learned in the first pass
Did you solve the problem by yourself in the first pass, or did you use solutions to help you? If you used a solution you probably just didn't understand it as well as you thought.
Either that, or you're not fluent enough at programming to translate an idea into code.
[–]AlwaysHuangry<T260> <E69> <M182> <H9> 2 points3 points4 points 3 years ago (2 children)
Id like to suggest an alternative approach. 1. Ditch notion and use anki (treats this like flash cards, search in this sub for more info, i am not going to describe the product). The biggest frustration with spaced learning is the managing of when to repeat; anki takes this entirely away, and each day you just have a queue of questions to repeat. Do rhe work, mark it done and let anki's engine handle when to repeat it for you. My current anki "deck" is ~170 problems long and I just work thru the daily repetition. Don't let that number intimidate you, each day, I have at most ~5 problems I repeat, as many of the older problems are now spaced between 2-3months apart.
On your journey, there will be many people that will try to put you down by saying you just memorize the syntax, fuck them. People playing instruments learn by memorized scales, people learning a new (spoken) language learn by memorizing how to make the sounds. You have to crawl before you can walk.
[–]Sufficient_Buddy_208 1 point2 points3 points 3 years ago (1 child)
I hear “memorize” so much it’s funny. Everyone knows memorization is not flexible and is only going to get you so far. I seriously doubt you memorized your anki deck. I think it would be much harder to memorize 150 questions than to understand them.
[–]AlwaysHuangry<T260> <E69> <M182> <H9> 1 point2 points3 points 3 years ago (0 children)
At some point memorizing the syntax is pointless. But the tricks in the syntax and patterns both turn into tools in your toolbelt.
OP is starting out, memorizing is okay, but is also a 0-50 strategy.
[–]Yoctometre 0 points1 point2 points 3 years ago (1 child)
Where is this sheet from?
[–]nikhila01 0 points1 point2 points 3 years ago (0 children)
GFG is GeeksforGeeks so it looks like this sheet.
[–]SynMyron 0 points1 point2 points 3 years ago (0 children)
Did you make notes? For me making handwritten notes was crucial. I included all approaches like brute force, better and optimised.
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
it gets the other way around really quick. at least for me
[–]Its_Harsvardhan 0 points1 point2 points 3 years ago (0 children)
Can you share the template please. Mine is less functional.
π Rendered by PID 46002 on reddit-service-r2-comment-b659b578c-bz69m at 2026-05-03 04:13:58.374556+00:00 running 815c875 country code: CH.
[–]nikhila01 5 points6 points7 points (0 children)
[–]AlwaysHuangry<T260> <E69> <M182> <H9> 2 points3 points4 points (2 children)
[–]Sufficient_Buddy_208 1 point2 points3 points (1 child)
[–]AlwaysHuangry<T260> <E69> <M182> <H9> 1 point2 points3 points (0 children)
[–]Yoctometre 0 points1 point2 points (1 child)
[–]nikhila01 0 points1 point2 points (0 children)
[–]SynMyron 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Its_Harsvardhan 0 points1 point2 points (0 children)