<story><title>Role of Algorithms</title><url>https://matklad.github.io/2023/08/13/role-of-algorithms.html</url></story><parent_chain></parent_chain><comment><author>angarg12</author><text>&amp;gt; Somewhat related, I noticed a surprising correlation between programming skills in the small, and programming skills in the large. You can solve a problem in five lines of code, or, if you try hard, in ten lines of code. If you consistently come up with concise solutions in the small, chances are large scale design will be simple as well.&lt;p&gt;Well, my anecdotal evidence doesn&amp;#x27;t support this.&lt;p&gt;I&amp;#x27;ve done 500+ interviews for big tech, and often it is easy to spot people who have grinded leetcode. They excel at DSA, but fail at system design, or even low level design.&lt;p&gt;The thing is that overall I kind of agree with this article. Leetcode is great as a fun coding exercise. I also think they help the craft like katas help martial artist to practice.&lt;p&gt;The problem is when me getting the job depends on solving a coding puzzle. Sometimes I can solve a leetcode hard with ease and sometimes I get completely blocked in a medium one. Getting a job becomes more of a random toss than assessment of my skills. And yes, my company, and by extension me, are very guilty of this.</text></comment>
<story><title>Role of Algorithms</title><url>https://matklad.github.io/2023/08/13/role-of-algorithms.html</url></story><parent_chain></parent_chain><comment><author>raunakchhatwal</author><text>I definitely agree that it improves writing fewer bugs. When I first began using leetcode, I was proud that I was able to begin at leetcode medium and even solve the hard ones because the tip was to grind the easy ones before progressing to medium and hard problems. However, reading up on how DSA interviews are conducted, I realized that I probably would be penalized for not getting my solution right the first few times, whereas my style of solving leetcode problems at first was to get it right only after like the sixth+ try. Also, leetcode problems are also a good way to learn new languages, I&amp;#x27;m currently using it to learn Rust, and learning Haskell probably would&amp;#x27;ve been smoother if leetcode supported it.</text></comment>