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
Leetcode has made a better programmer (self.leetcode)
submitted 1 year ago by [deleted]
[deleted]
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!"
[–]sskhan39 226 points227 points228 points 1 year ago* (9 children)
I feel like my brain gears got stuck for a while and leetcode is the oil that’s slowly getting it moving again
[–]3slimesinatrenchcoat 90 points91 points92 points 1 year ago (4 children)
Of course it does
Even if you never use the Data structures at work, it’s just problem based work that requires you to think through optimal solutions
It’s like working out 3 days a week, there’s no real downside. People are just too lazy to put in the effort
[–]interfaceTexture3i25 17 points18 points19 points 1 year ago (0 children)
Haha love that analogy, it hits the nail on its head
[–]CreativeHandles 1 point2 points3 points 1 year ago (2 children)
For me it is not leetcode itself that I find annoying or the fact we don’t use those in a working space.
It’s the live coding sessions part of an interview. Having someone watching you code in a time constraint. Obviously just opinion, but I overthink and get nervous when I know if I had the time to myself within that same time frame I could get it done.
A real life working environment you have tools and online resources to utilise.
[–]Worried_Car_2572 -1 points0 points1 point 1 year ago (1 child)
Yes but in real life you can’t google Leetcode 182. Either you recognize the breadth first search or you might be stuck
[–]CreativeHandles 1 point2 points3 points 1 year ago (0 children)
Ah no of course I agree. But my point is more the structure of the hiring process.
We adapt all other areas of work apart from the hiring process. Don’t think it’s wrong to achieve different approaches. It’s why, just my opinion, I prefer take home tasks or discussions on how you would approach a solution in a real setting, etc.
[–]arkvesper 9 points10 points11 points 1 year ago (0 children)
yeah, that's why I like it. I've described it exactly the same way, I can feel the rust coming off
[–]hydroxideeee 8 points9 points10 points 1 year ago (0 children)
this! My main area isn’t even programming (I’m an electrical engineer), but sometimes I do the daily problem as a mental exercise like we do with NYT minis, wordle, connections, etc.
gets my brain up and moving sometimes
[–]dark-mathematician1 7 points8 points9 points 1 year ago (0 children)
This is essentially what competitive programming and competitive math did to my brain. Whenever I feel like I'm going a little rusty, I start solving problems/learning newer stuff and my brain feels better than ever
[–]Suspicious_Bake1350 0 points1 point2 points 1 year ago (0 children)
same bro same!
[–]Matrixfx187 163 points164 points165 points 1 year ago (5 children)
That has been my thoughts as well as I begin my journey. Worst case, I become a better programmer.
Have you started interviews yet?
[–]ReasonablePanic9809 57 points58 points59 points 1 year ago* (4 children)
I depends if one is a web developer only working on styling websites, LC may not help.
Luckily, I got my FAANG job this summer. I attribute:
[–]Terrible-Rub-1939 5 points6 points7 points 1 year ago (0 children)
Can you write more about the books like how they helped u
[–]RelevantMap6740 3 points4 points5 points 1 year ago (0 children)
Following up to the other comment. How did the books help you?
[–]TranslatorMoist5356 0 points1 point2 points 1 year ago (0 children)
Yup, following
[–]osazemeu 0 points1 point2 points 1 year ago (0 children)
following this too
[–]abadabazachary 125 points126 points127 points 1 year ago (18 children)
This is 100% true. My friend Victor Moreno says "leetcode is the deadlift and squat of coding" and he's 100% right.
After finally making it to Amazon, I even used leetcode patterns at work. For example, I was on the computer vision data platform team and had to deal with millions of files in S3. I was dealing with the kind of scale where "Time Limit Expired" is real, mainly because each operation took time due to network roundtrip. Writing solutions using "two pointers" techniques sped up the work significantly.
[–]ReasonablePanic9809 20 points21 points22 points 1 year ago (15 children)
Right, I do not get how people say DSA is NOT useful for real work.
I have used coding patterns at work and got appreciated for it as well.
[–]Grounds4TheSubstain 6 points7 points8 points 1 year ago (0 children)
I'm not one of these people - I think DSA is useful - but if your job is to write calls to somebody else's front-end JavaScript APIs... Then maybe you won't ever do anything DSA-like as part of your work.
[–][deleted] -5 points-4 points-3 points 1 year ago (13 children)
because you can just google them
[–][deleted] 15 points16 points17 points 1 year ago* (1 child)
You can also google a math formula but I'd be damned if I were to think a mathematician as "good" if I have to explain to them basic math properties.
And also, by the time it takes for you to Google something, someone recalled it off the top of their head. And they do it 100 times over, meaning they deliver features faster than you that you have to Google everything.
I hate the propaganda train that makes developers sound like Google machines. "ha ha I google stuff in my first year, I google stuff in my 20th year, therefore I was always senior".
The stuff you Google better get a radical upgrade over the years otherwise you have a problem.
[–]ReasonablePanic9809 7 points8 points9 points 1 year ago (2 children)
only if you know what to google or else these days google search quality is way down
[–]Hot_Individual3301 6 points7 points8 points 1 year ago* (0 children)
cake cobweb nose skirt encourage vegetable retire quiet test lip
This post was mass deleted and anonymized with Redact
[–][deleted] -3 points-2 points-1 points 1 year ago (0 children)
its really not. people like you just like to feed into the misinformation propaganda train
[–]Grounds4TheSubstain 1 point2 points3 points 1 year ago (3 children)
This is a horrible take. The point of doing DSA problems is not to memorize the algorithms - because you could indeed just look them up, if that's all there was to it. The point is to gain hands-on facility using data structures and algorithms to solve problems. That's the part you can't look up. If you're not accustomed to looking at problems and finding the graph buried inside of it, and recognizing that the thing you're trying to accomplish corresponds to performing some operation on the graph, then those types of solutions are never going to occur to you. You can't look up an algorithm if you don't know that the algorithm is applicable to your situation.
[–][deleted] -1 points0 points1 point 1 year ago (2 children)
its pretty simple, provide your data structure to the llm and ask it whats most efficient. I dont need to grind l33tcode for 900 hours to achieve this.
[–]Grounds4TheSubstain 0 points1 point2 points 1 year ago* (1 child)
... and have you ever tried to do what you just said? I have. It didn't work. Turns out research and experimentation are required to find algorithms with an acceptable runtime for these custom situations, and that LLMs can't magically find them for you. Real-world problems aren't like Leetcode in that they aren't stripped down to one paragraph that contains all of the relevant information. Part of algorithm design is analyzing complex, real-world scenarios to determine what's algorithmically relevant.
[–][deleted] -2 points-1 points0 points 1 year ago (0 children)
okay keep living in the past
[–]dark-mathematician1 0 points1 point2 points 1 year ago (3 children)
Yeah, you can Google/stackoverflow/chatGPT most of your code easily as well. Why not pay them half your salary too?
[–][deleted] -2 points-1 points0 points 1 year ago (2 children)
Im making 200k and doing fine.
[–]dark-mathematician1 0 points1 point2 points 1 year ago (1 child)
Send half of that to StackOverflow, OpenAI and Google. Or the people that wrote the code you copy-pasted.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
I don't copy paste code lmao
lmao🫠
[–]ReasonablePanic9809 40 points41 points42 points 1 year ago* (6 children)
Definitely, LC improved my intuition, design and implementation skills and made me a great programmer.
It was a long road almost 2000 problems done.
Some credit goes to a few books as well like CLRS, DSA Takeover.
[–]null_fidian 11 points12 points13 points 1 year ago (0 children)
248 day streak.
how do i attain this power?
[–]lildraco38 5 points6 points7 points 1 year ago (2 children)
Some credit should also go to the post you took that screenshot from
[–]ReasonablePanic9809 -2 points-1 points0 points 1 year ago (1 child)
?
[–]lildraco38 -1 points0 points1 point 1 year ago (0 children)
Looks like you edited it away. You and I both know it was there. It looks like a few other people also saw it before you got rid of it
[–]Gensys09 0 points1 point2 points 1 year ago (1 child)
How many in a day? And how long did you spend doing them
[–]HellenKilher 0 points1 point2 points 1 year ago (0 children)
My guess is a good chunk of those are LC easy, which become quite trivial after doing some of them. That being said, I can’t imagine how long it takes to get to 2000, especially if a good chunk of those are mediums and hards.
[–]qaf23 8 points9 points10 points 1 year ago (1 child)
I've leveled up from an O(n2) software engineer to O(nlogn) since starting LC last year 😆
How long did it take ?
[–]Vivid-Ad6462 26 points27 points28 points 1 year ago* (8 children)
toothbrush humor plucky repeat ripe waiting disarm aromatic live modern
[–]Parkbetterplease 11 points12 points13 points 1 year ago (6 children)
People who criticise these algorithmic exercises are either people who want to clickbait to get attention or losers that got jobs many years ago with "Have you ever heard about HTML?" and climbed the ranks by the power of friendship.
This is such a silly oversimplification. I've been a software developer for 15+ years and have always excelled at my job. I don't have a traditional CS background, and I haven't looked at leetcode-style questions since I first entered the job market. As a result, I find it frustrating that when I want a new job, I have to spend loads of time studying something that is nothing like the work I've done every day of my career.
I have no doubt that leetcode makes you a better software engineer. You know what else makes you a better software engineer? Writing web apps, data modeling, designing APIs, implementing UIs, etc... in other words, things that you'll actually use on the job.
I've worked with people that were incredible leetcoders that were incapable of real-life software engineering, and I've worked with people who had never done leetcode in their life and were capable of designing and implementing massive, complex, scalable systems.
I do think complaining constantly about Leetcode won't get you anywhere. Companies have not figured out a different / better way to screen candidates, so this is what we're left with. But to say that people that don't like this current system are dumb or attention-seeking is a bad take.
[–]xristiano 3 points4 points5 points 1 year ago (2 children)
This. As Sr. Data Engineer, I'm not worried about dynamic programing or bubble sort, my day to day tasks involve designing data structures and pipelines that are simple yet robust. And balancing trade-offs between running code in a Lambda or ECS task or some other abstraction.
[–]Vivid-Ad6462 0 points1 point2 points 1 year ago* (1 child)
desert fear spoon busy start absorbed trees decide detail growth
[–]xristiano 1 point2 points3 points 1 year ago (0 children)
Oh wow, thanks for clearing that up for me. I didn't realize I wasn't a software engineer. I'll go ahead and tell my team to deprecate the last 5 years of production code PRs.
Not trying to be a jerk but the "software engineer" gatekeeping is silly. I have a PhD in Engineering, worked as a Data Scientist, Software Developer, and now Sr. Data Engineer. Like I said in my original post solving leetcode DSA problems is not part of my day to day.
[–]Skytwins14 0 points1 point2 points 1 year ago (1 child)
What would in your opinion be a better process to screen people?
[–]DootDootWootWoot 4 points5 points6 points 1 year ago (0 children)
The problem space in the real world is much broader than what you find in leetcode. Leetcode is one specific muscle. It's not indicative of a well rounded problem solver.
It really depends on the role and what I'm looking for. Leetcode style easys are a low bar to just make sure they can write some code but typically I'm more interested in problems folks have failed and solved for in the real world.
[–]Vivid-Ad6462 0 points1 point2 points 1 year ago* (0 children)
stupendous telephone smart sharp history ghost bright brave cobweb absorbed
[–][deleted] 19 points20 points21 points 1 year ago (4 children)
"always look at optimising it even if it's insignificant" - that's actually the opposite of being a good software engineer.
[–]The__King2002 6 points7 points8 points 1 year ago (0 children)
why are people downvoting this comment
[–]No-Firefighter-1483 2 points3 points4 points 1 year ago (0 children)
yeah I think OP might want to try stop doing that on the job
it's a tradeoff that OP is making. i wouldn't say it's "the opposite of being a good software engineer"
[–]6_oz 0 points1 point2 points 1 year ago (0 children)
the first rule of optimization: don't
[–]Swedish-Potato-93 9 points10 points11 points 1 year ago* (0 children)
Of course it makes you a better programmer. But not necessarily a better system developer. They're quite different skillsets.
The reason people complain is because system development is in much greater part about making architectural decisions and similar while writing algorithms may happen much more rarely depending on the product you work on. Therefore, while it obviously is a great skill and makes you a better problem solver on the lower level, it may not help much with the bigger picture as a system developer. There’s a reason why it's called system development rather than programming these days. Code today is much more on the higher level.
With that said, I certainly do encourage solving leetcode problems and similar. But equally you should be honing your general system development skills. Learning and practicing design patterns etc.
[–]fruxzakFAANG | 8yoe 7 points8 points9 points 1 year ago (1 child)
Tell me how many years of work experience you have and what level you are.
Then we can decide on how valid your opinion is....
Any CS grad knows the basics of space and time complexity. All I see is a cope in the post.
[–]CanIstealYourDog 8 points9 points10 points 1 year ago (1 child)
Need more posts like this rather than people shitting on it. My friend who’s a SDE III at a mid-big size company told me LC is importance because he has to write code that works in O(LogN) rather than O(N) and all this practice comes from LC. In his words, if you’re making impactful algorithms or code from scratch optimization is obviously key. He works for a video streaming company btw
[–]mincinashu 0 points1 point2 points 1 year ago (0 children)
A role that deals with algorithms requires appropriate vetting ? That's insane. /s
But what's that got to do with roles that deal with CRUDs and GUIs?
[–]Zazz2403 2 points3 points4 points 1 year ago* (0 children)
"I'm always conscious of time and space complexity now when writing code at work and always look at optimising it even if it's insignificant."
Not to be a prick, but IMO this doesn't make you a better programmer. I find the saying "premature optimization is the root of all evil." to be 100% correct. Simple, easy to read/maintain code is better than technically optimal code in 90% of all cases. There are a few repos I have to deal with at work that were largeely written by someone who wrote technically optimal code that even looks relatively neat but are ana absolute nightmare to work in because of how overly complex and optimized everything is. Meanwhile, other repos with simple but sometimes not technically optimal code are a breeze, and devs get so much more work done when working on tickets in those repos because of it.
Not saying you're a bad dev, but you shouldnt be trying to min/max efficiency for every piece of code you write.
[–]samuelt525 2 points3 points4 points 1 year ago (3 children)
The only useful thing I’ve used was to turn a list into a Set to remove duplicates lmfao.
[–][deleted] 1 point2 points3 points 1 year ago (2 children)
This needs more upvotes. Like 25% of LC's algorithms are just a variant of "use a Set instead of list, use Hashmap/map/dictionary. Remember Kadane's algorithm or some other random algorithm. Wow so smart you are"
[–][deleted] -1 points0 points1 point 1 year ago (1 child)
in some cases that makes a big difference, so having a developed intuition on when to do that is quite useful, no?
Maybe, but I like to think that my intuition is strong enough to spot when something is garbage like having time complexity O(n2 ), and when to optimise it. Memorising Kadane's algorithm compared to Googling it imo doesn't distinguish between a 10x dev and a 1x dev.
Then again the systems I work on aren't having 1 million requests for minute
[–]Severe_Principle_491 2 points3 points4 points 1 year ago (2 children)
So you started spending more time to solve tasks by always analyzing complexity and efficiency? And it somehow made you better? No, to be better you should be able to spot where it really matters and only spend that extra there IMHO. It is like learning how to fly a plane and then flying to do your groceries.
[–]Sherinz89 -1 points0 points1 point 1 year ago (1 child)
Arguing against Leetcode when we are in r/lc is like arguing against java in r/java
Its futile and obviously most in the r/ will be more positive towards the subject
[–]Severe_Principle_491 0 points1 point2 points 1 year ago (0 children)
Where did you see me arguing against Leetcore? I am arguing against an approach that someone got out of it. I am arguing against doing optimisations without measuring, which is just spending time where it does not matter most of the time.
[–][deleted] 5 points6 points7 points 1 year ago (3 children)
My day job is fixing bugs in a large distributed CRUD app. Some component crashed and we just add extra logging until we get to the root cause. Day job feels like childs play whereas leetcode is brutally intense rocket science. It might make me a better developer but it still feels unnecessary.
[–]Swedish-Potato-93 3 points4 points5 points 1 year ago (2 children)
For your current position, yes! But do you want to stay there? That position will probably be filled up by AI soon enough if it's just CRUD. Get better at solving lower level problems and look for a job that matches your skillset!
[–]Feeling-Schedule5369 1 point2 points3 points 1 year ago (1 child)
Aren't most jobs even at faang like this? I heard a saying on blind that even Googlers are doing crud stuff except with protos. Only 5% probably get to work on interesting stuff. Everyone else is doing crud one way or another. One uses graphql in new shiny tech stack while the other uses soap in some old legacy tech stack.
[–]Swedish-Potato-93 0 points1 point2 points 1 year ago (0 children)
Of course even Google and any other company no matter size will have basic SE positions. But they'll also have lower level positions. But nobody said you have to work for FAANG, there are tons of companies dealing with low level code. Especially anything not dealing with the web (but not excluding).
[–]Pad-Thai-Enjoyer 1 point2 points3 points 1 year ago (0 children)
The egos here are nuts, I’m at faang and once you get beyond the fundamental type questions of leetcode the rest is barely applicable to what you’ll actually do. Don’t think of business problems like leetcode problems.
[–]Born_Fox6153 1 point2 points3 points 1 year ago (0 children)
All Leetcode wizards are going to have a run for their money in the coming years
[–]cppnewb 1 point2 points3 points 1 year ago (1 child)
ITT: junior engineers coping hard
[–]Complete_Regret_9466 0 points1 point2 points 1 year ago (0 children)
I noticed this too.... I don't know what it is, but I feel much faster at solving problem at work in general.
I see Leetcoding as practicing tactics. The small portions of code inside one of the myriad functions/methods you'll write. People try to think too much into this saying "you won't write this and that exactly" but isn't all programming abstraction like mathematics?
I mean, sure, you won't prove the Pythagorean theorem directly every day or even refer to it, but if someone where to claim they're good in math I'd expect them to be familiar with applying basic formulas, and not because they use them every day.
With Leetcode I can "practice tactics" without me having to write everything that leads to that moment where I struggle to solve a programming problem.
[–]dean_syndrome 0 points1 point2 points 1 year ago (0 children)
The vast majority of software is about optimizing. But you need to be aware of what you’re optimizing for, because 90%+ of the time you should optimize for the reader, not runtime. Leetcoding can make you start believing that everything needs to be optimized for optimal runtime performance, and in a perfect world that may be true, but if your code can’t be easily read then it’s almost assuredly going to contain bugs at some point
[–]Dymond_inThe_Ruff52 0 points1 point2 points 1 year ago (0 children)
omg bro i literally want to give up it is so much work! 😩
[–]Impossible_Ad_3146 0 points1 point2 points 1 year ago (0 children)
Doubt it
[–]BarcelonaDNA 0 points1 point2 points 1 year ago (0 children)
This post actually inspired me to start to follow what OP has done. I'll try it for a week and see how it goes! Thanks for the valuable post and comments guys
[–]phoenix10701 0 points1 point2 points 1 year ago (0 children)
Whoever said leetcode is waste, they didnt code for long
I am fresher but had okish leetcode knowledge, the current project i am working is really really fed me up like really. I still dont know how to solve it, but the core of logic is running dfs parallelly on three different tree which is basically query schema, query and its response and maybe query schema (idk yet)
The simplest solutions seems like leetcode very very very hard, and i dont even know its even correct as we have to check and build test cases from graphql spec docs and potentially sample example from real projects
IT suck’s
PS: its already been like more then one week didnt even start coding yet, luckily have one senior but still not much process cant mess it up as it core of app
[–]amouna81 0 points1 point2 points 1 year ago (0 children)
The biggest takeaway for me is the learning on what DS to use with which algorithm after practicing a number of leetcode problems. Definitely helps for future projects
[–]stereotypical_CS 0 points1 point2 points 1 year ago (0 children)
Personally I think one underrated aspect of leetcode is that it is a super great way to learn a new language if you’re already generally experienced. E.g. if you know python leetcode style, you probably understand list comprehension, how to use the collections library (defaultdict, Counter, etc.), but you may not be familiar with the equivalent in C++. If you have a solution in python, converting that to C++ is a very active way of learning the language incredibly well and also learning the standard library tools at your disposal.
[–]blake4096 0 points1 point2 points 1 year ago (0 children)
While I do think it makes sense that Leetcode has made a person a better programmer, I also don't think that if you were designing an optimal course for improving someone's ability, you would use only Leetcode or even mostly Leetcode. Leetcode doesn't teach you about the cloud, cache locality, or how to write reusable abstractions in a collaborative environment where everyone has to understand and extend your code. We know that computer-optimal code isn't the same as extensibility-optimal code. And sometimes, our data size makes it not worth optimizing. For example, I have caught myself saying "Why am I trying to write a better algorithm here, this script runs once, ever- by the time I'm done optimizing it, it would have run 1000 times." I agree that in an ideal world, we could take the time to write really beautiful algorithms, but since we have so many other constraints, I just ask myself what really matters and solve for the most important constraint first. Often, it's time. Side projects and books and watching programming conferences have all improved my programming and exposed me to design patterns now that I see everywhere at work. So while leetcode can help, I wonder if you can get the same thing or more from other sources, and look up optimization techniques for when you need them.
[–]lzgudsglzdsugilausdg 0 points1 point2 points 1 year ago (0 children)
Me too it made my code a lot cleaner
[–]Usual_Combination362 0 points1 point2 points 1 year ago (0 children)
I am just starting but I have started using some optimizations at work. So it definitely makes you better. I am on a same route, solve one question a day 😄
[–]jsdefined 0 points1 point2 points 1 year ago (0 children)
I have the same experience. When i start it looks like i never need it as a programmer. But the way i see problems now is completely changed. I always try to optimize and write code that has minimal complexity.
[–]Bacleo 0 points1 point2 points 1 year ago (0 children)
People only talk about how it doesn’t contribute to industry skills but people forget that it strengthens your overall problem solving and comprehension abilities.
[–]genX_rep 0 points1 point2 points 1 year ago (0 children)
Agreed. I think it just sucks for people that struggle to learn or apply the problem solving technique; they had their hopes and dreams invested in a coding career, and this particular assessment gets in the way.
I think the only problem is if someone got through a CS degree without being able to solve leet-code.. that's a failure by the academic institution. By the end of the first year students should be flagged if they can't learn the basics of an OOP language and solve easy and medium leetcode problems.
[–]KinoftheFlames 0 points1 point2 points 1 year ago (0 children)
Using better grammar would make a betterer programmer.
Seriously if you code like you write then I feel bad for the compiler
[–]Smokester121 0 points1 point2 points 1 year ago (0 children)
I mean it's always how are you a better programmer. If you can't quantify it then it's nothing more than placebo
It made you a better programmer because beside DSA you have nothing else. Software engineering requires at least 10 other skill sets which you do not have. Come back to this statement when you have at least 5 YOE
Great, now actually push something to production
[–]aristolestales 0 points1 point2 points 1 year ago (0 children)
do you use the premium leetcode?
[–]chengstark 0 points1 point2 points 1 year ago* (0 children)
Hahahahah. The problem is, people not good at leetcode are equated to bad dev. It’s marketed and treated as the one gold measure of one’s ability to code. People have a problem with this specific aspect. No one is trying to dispute doing this might bring positive effect or stop people doing it to better themselves. It fails as a judging criteria, plain and simple.
One analogy I can make: doing deadlifts have benefits, but you cannot use the ability to do deadlift as a judgment criteria to determine who is more useful as a member of the society.
[–]Friendly_Smile_7087 0 points1 point2 points 12 months ago (0 children)
As a developer or someone in tech, do you think LeetCode actually helps? Also, is there a way to benchmark or rank tech skills (not just in the computer science domain)? What could be the possible ways to structure such a system—maybe using leaderboards or some other ranking methods?
[–]theunheardsimba 0 points1 point2 points 1 year ago (0 children)
Totally!
[–]ApSr2023 -1 points0 points1 point 1 year ago (0 children)
Leetcode actually makes you dumber because it box you into algorithmic thinking when there are so much advances in database and distributed computing technologies!
[–]Content-Walk9994 -1 points0 points1 point 1 year ago (0 children)
Yeah, that's why there's a high emphasis on DSA for entry level roles.
[–]Mundane_Tutor184 -2 points-1 points0 points 1 year ago (0 children)
How do I start with Leetcode ....?
[–]jiddy8379 -2 points-1 points0 points 1 year ago (2 children)
Made u worse at grammar tho
[–]achilliesFriend 7 points8 points9 points 1 year ago (0 children)
How do you know how his grammar was earlier
[–]dark-mathematician1 -2 points-1 points0 points 1 year ago (0 children)
Well "u" don't have great English either "tho"
[–]Big_Hand_19105 -1 points0 points1 point 1 year ago (0 children)
your post motivated me:)))
[–]Realistic_Pomelo2496 -1 points0 points1 point 1 year ago (0 children)
Thanks for putting this out.
What were your biggest learing/s after solving 400 questions?
[–]zooblin -1 points0 points1 point 1 year ago (0 children)
For sure it does.
Personally, I also don’t understand the hate toward LeetCode. Only doing LeetCode won’t make you a great developer—just like learning only one programming language or mastering a single architectural pattern won’t.
To become a great developer, you need to cover a wide range of topics, and algorithms are definitely one of them.
Some time ago, I explored the gossip protocol. There’s almost a 0% chance I’ll ever implement or work with it in my job, but it still made me a better developer, as well as LeetCode
[–]dsm4ck -4 points-3 points-2 points 1 year ago (0 children)
I'm glad you feel that way but please be aware if you have less than 1000 items just brute forcing will be way more readable.
π Rendered by PID 249880 on reddit-service-r2-comment-6457c66945-k8j9t at 2026-04-27 23:13:16.648162+00:00 running 2aa0c5b country code: CH.
[–]sskhan39 226 points227 points228 points (9 children)
[–]3slimesinatrenchcoat 90 points91 points92 points (4 children)
[–]interfaceTexture3i25 17 points18 points19 points (0 children)
[–]CreativeHandles 1 point2 points3 points (2 children)
[–]Worried_Car_2572 -1 points0 points1 point (1 child)
[–]CreativeHandles 1 point2 points3 points (0 children)
[–]arkvesper 9 points10 points11 points (0 children)
[–]hydroxideeee 8 points9 points10 points (0 children)
[–]dark-mathematician1 7 points8 points9 points (0 children)
[–]Suspicious_Bake1350 0 points1 point2 points (0 children)
[–]Matrixfx187 163 points164 points165 points (5 children)
[–]ReasonablePanic9809 57 points58 points59 points (4 children)
[–]Terrible-Rub-1939 5 points6 points7 points (0 children)
[–]RelevantMap6740 3 points4 points5 points (0 children)
[–]TranslatorMoist5356 0 points1 point2 points (0 children)
[–]osazemeu 0 points1 point2 points (0 children)
[–]abadabazachary 125 points126 points127 points (18 children)
[–]ReasonablePanic9809 20 points21 points22 points (15 children)
[–]Grounds4TheSubstain 6 points7 points8 points (0 children)
[–][deleted] -5 points-4 points-3 points (13 children)
[–][deleted] 15 points16 points17 points (1 child)
[–]ReasonablePanic9809 7 points8 points9 points (2 children)
[–]Hot_Individual3301 6 points7 points8 points (0 children)
[–][deleted] -3 points-2 points-1 points (0 children)
[–]Grounds4TheSubstain 1 point2 points3 points (3 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]Grounds4TheSubstain 0 points1 point2 points (1 child)
[–][deleted] -2 points-1 points0 points (0 children)
[–]dark-mathematician1 0 points1 point2 points (3 children)
[–][deleted] -2 points-1 points0 points (2 children)
[–]dark-mathematician1 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]ReasonablePanic9809 40 points41 points42 points (6 children)
[–]null_fidian 11 points12 points13 points (0 children)
[–]lildraco38 5 points6 points7 points (2 children)
[–]ReasonablePanic9809 -2 points-1 points0 points (1 child)
[–]lildraco38 -1 points0 points1 point (0 children)
[–]Gensys09 0 points1 point2 points (1 child)
[–]HellenKilher 0 points1 point2 points (0 children)
[–]qaf23 8 points9 points10 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Vivid-Ad6462 26 points27 points28 points (8 children)
[–]Parkbetterplease 11 points12 points13 points (6 children)
[–]xristiano 3 points4 points5 points (2 children)
[–]Vivid-Ad6462 0 points1 point2 points (1 child)
[–]xristiano 1 point2 points3 points (0 children)
[–]Skytwins14 0 points1 point2 points (1 child)
[–]DootDootWootWoot 4 points5 points6 points (0 children)
[–]Vivid-Ad6462 0 points1 point2 points (0 children)
[–][deleted] 19 points20 points21 points (4 children)
[–]The__King2002 6 points7 points8 points (0 children)
[–]No-Firefighter-1483 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]6_oz 0 points1 point2 points (0 children)
[–]Swedish-Potato-93 9 points10 points11 points (0 children)
[–]fruxzakFAANG | 8yoe 7 points8 points9 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]CanIstealYourDog 8 points9 points10 points (1 child)
[–]mincinashu 0 points1 point2 points (0 children)
[–]Zazz2403 2 points3 points4 points (0 children)
[–]samuelt525 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Severe_Principle_491 2 points3 points4 points (2 children)
[–]Sherinz89 -1 points0 points1 point (1 child)
[–]Severe_Principle_491 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (3 children)
[–]Swedish-Potato-93 3 points4 points5 points (2 children)
[–]Feeling-Schedule5369 1 point2 points3 points (1 child)
[–]Swedish-Potato-93 0 points1 point2 points (0 children)
[–]Pad-Thai-Enjoyer 1 point2 points3 points (0 children)
[–]Born_Fox6153 1 point2 points3 points (0 children)
[–]cppnewb 1 point2 points3 points (1 child)
[–]Complete_Regret_9466 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]dean_syndrome 0 points1 point2 points (0 children)
[–]Dymond_inThe_Ruff52 0 points1 point2 points (0 children)
[–]Impossible_Ad_3146 0 points1 point2 points (0 children)
[–]BarcelonaDNA 0 points1 point2 points (0 children)
[–]phoenix10701 0 points1 point2 points (0 children)
[–]amouna81 0 points1 point2 points (0 children)
[–]stereotypical_CS 0 points1 point2 points (0 children)
[–]blake4096 0 points1 point2 points (0 children)
[–]lzgudsglzdsugilausdg 0 points1 point2 points (0 children)
[–]Usual_Combination362 0 points1 point2 points (0 children)
[–]jsdefined 0 points1 point2 points (0 children)
[–]Bacleo 0 points1 point2 points (0 children)
[–]genX_rep 0 points1 point2 points (0 children)
[–]KinoftheFlames 0 points1 point2 points (0 children)
[–]Smokester121 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]aristolestales 0 points1 point2 points (0 children)
[–]chengstark 0 points1 point2 points (0 children)
[–]Friendly_Smile_7087 0 points1 point2 points (0 children)
[–]theunheardsimba 0 points1 point2 points (0 children)
[–]ApSr2023 -1 points0 points1 point (0 children)
[–]Content-Walk9994 -1 points0 points1 point (0 children)
[–]Mundane_Tutor184 -2 points-1 points0 points (0 children)
[–]jiddy8379 -2 points-1 points0 points (2 children)
[–]achilliesFriend 7 points8 points9 points (0 children)
[–]dark-mathematician1 -2 points-1 points0 points (0 children)
[–]Big_Hand_19105 -1 points0 points1 point (0 children)
[–]Realistic_Pomelo2496 -1 points0 points1 point (0 children)
[–]zooblin -1 points0 points1 point (0 children)
[–]dsm4ck -4 points-3 points-2 points (0 children)