Do you actually encounter any of the medium and hard questions you see on Leetcode in your actual work?
Yeah. We have a Google truck that needs to go across a field grid and pick up cherries without touching thorns... Nothing like leetcode at work. (My reference: https://leetcode.com/problems/cherry-pickup/description/)
Heh. At the heart of the thing I work on are a couple of leetcode hard problems. However the solutions are a decade old and so complex I don't understand them and I'm not entirely convinced anyone understands them any more. In my previous job I did have one tool which was doing graph processing between medium and hard. Basically every feature I added to it was lc medium I think. For example printing out a parse tree in ascii format similar to dirtree output, is that medium or hard, not sure.
Not that hard when you have internet access, an IDE, and more than 30 minutes to do it.
No.
Yeah. We are trying to conserve water. So calculating a 3D rain trap is what we do on a daily basis.
How much have you trapped till now?
Design problems, sure. Those stupid DP questions, practically never.
No
Not only no, but fuck no.
Never. Depends on what you consider 'similar.'
Keep calm and leet code
If you work in systems, you will encounter those kind of problems. Otherwise you won't. What you do encounter are much tougher technical problems that take multi quarters to design and implement :)
Any examples? Do they take away your internet and make you write the code on a whiteboard too? Oh, and you’re not allowed to use a well-tested library for this, either, because it’s mission critical, right? Pretty sure you’re either trolling or referring to “that one time I used KMP or a B-tree.”
Google is right. If you know how to, for all the things you said yelp, then you are a really important asset. And have the potential to work on anything new to you but still make an impact by doing it right. Otherwise you are just another stackoverflow dependent entitled pseudo engineer. It's very important to get your basics right in order to stand your ground.