Once again (to my own surprise) NeetCode traffic is at an all-time high. It kinda makes sense. Data structures & algorithms is literally the math subject of the programming world. Sure, you usually won't need deep knowledge, but it covers such important and fundamental programming concepts. I get that a lot of people don't want to "overfit" their brains to these problems. But I sincerely believe having a grasp of fundamental DSA concepts is pretty helpful.
You don’t even know how many „modern devs” need it I literally don’t understand their choices and I am unable to convience them even when I give them a clear explanation, with examples and screenshots + links to docs They literally create two, three element array and they run minimum function on it instead of just Math.Min(valueA, valueB) Or they do await oneMethod await anotherUnrelatedMethod Or they do Myarray.ToList() Myarray.Select() Myarray.Where() One after the other And yes I know. There is no difference how much time Math.Min takes vs min over a small array There is almost no difference between two parallel methods running for 10ms each and same methods running sequentially But these are not “natural” choices. Multiplied by the complexity of the code base you’re ending up with tens of thousand of unnecessary calls, iterations, references Today, method body which says: If a > 0 then return true else return false return false Is “normal” Or var prop = myObj.MyProperty Is “normal” And one can’t even convience the author that it’s not how it should be done and you can just do return a > 0 Or you can just refer to myObj.MyProperty instead of using “a shorter variable” Because the answer is… IT WORKS! AND IT CLEARLY STATES THE IDEA I can’t even imagine how they traverse trees People should really be forced to do these neetcode examples It teaches a lot.