Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CP (Competitive Programming, Olympiad/leetcode puzzles) uses Computer Science (Algos & DS) the same way as e.g. Physics and Biology use Mathematics, i.e. it is a completely different discipline with its own trivia knowledge and tricks that has nothing to do with a software engineering.



It has been argued that programming in general has nothing to do with software engineering [1].

[1] https://www.oreilly.com/library/view/software-engineering-at...


Knowing how to do math is generally useful as a biologist or physicist. Sure there’s trivia or whatever but knowing how an array works is definitely important for software engineering, just like knowing how to do algebra is also important for biologists.


My point is that just because Math is useful for both physicists and biologists, that does not mean that for a physicist position you should interview the candidate (a physicist) in Biology. Biology "is a completely different discipline with its own trivia knowledge and tricks".


I mean making your entire interview just algorithms is stupid, yes


To further clarify :) leetcode trivia & tricks != Algorithms/Computer Science.

Knowing the difference between arrays and linked lists is one thing, but knowing the puzzle tricks such as sliding windows, two pointers or some exotic DSs that are only used in such puzzles is another thing.


I think I mostly agree with this


> I mean making your entire interview just algorithms is stupid, yes

That's what recruiters do when they use leetcode-type problems as their first interview to filter out the bulk of their applicantions.


"knowing how to do math", is roughly how one who does not know any math beyond the tricks describe above describes mathematics.


Sorry which tricks are you talking about?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: