News for hackers. Stuff that matters.
Re:My startup failed, then I found out I was unemployable by PragmaticPulp on Tuesday April 13, 2021 @11:39AM (#26793814)
> It can be done.

Definitely. I’ll add that it doesn’t take as much time and effort as commonly portrayed online, especially if you have many years of development experience already.

Keep in mind that many of the online FAANG cram-style study guides and anecdotes about grinding LeetCode are largely targeted at college grads who don’t have many years of experience, and who also likely have a surplus of free time.

For developers with years of actual programming experience, it’s not as difficult to study interview problems as it sounds. Even more so if you spread your practice over a long period of time. Doing one problem per weekday over the course of a year will get you quite far in LeetCode without much time investment.

I grab a random LeetCode problem on my lunch break if I’m eating alone (aka every day during COVID). I pick a different language that I’m familiar with to rotate my skills. I’m not even interviewing, but it’s actually kind of fun to do the harder problems and play with all of the little optimizations. And I get to keep my skills fresh in programming languages I’m not currently using in any projects.

Re:My startup failed, then I found out I was unemployable by Terr_ on Tuesday April 13, 2021 @12:38PM (#26795027)
> Doing one problem per weekday over the course of a year will get you quite far in LeetCode without much time investment.

The problem with this approach is that you won't be able to remember the details of problems older than X months ago, at least not to the level that will reliably help when in a stressful whiteboarding interview.

There might be entertainment/knowledge benefits, but it doesn't replace cramming for a known upcoming interview-event.

Re:My startup failed, then I found out I was unemployable by ska on Tuesday April 13, 2021 @01:50PM (#26796275)
I think you are thinking about this the wrong way around. You don't need to "cram" for something if you understand it well. It's a matter of techniques, not answers.

I did one of these interviews on short enough notice no review was possible. The process was a little jarring but on these type questions I could just talk through the problem space and come up with something reasonable and explain it; although I doubt I answered anything precisely as expected in the half dozen interviews I had. Apparently it went well.

To be fair, I wasn't a fresh college grad, and I had been recently working as a full time researcher. But they sent me through the SE interview process and none of the specific questions were close to anything I had thought about in years.

Re:My startup failed, then I found out I was unemployable by cutemonster on Thursday April 15, 2021 @06:30PM (#26826981)
> You don't need to "cram" for something if you understand it well

I think most people cannot ever understand these topics well, and from their perspective, it'll always be about cramming. -- It doesn't fit in their world view that others can solve these problems by thinking, not cramming, when they cannot?

Whilst to you, it's more about thinking, coming up with new things, but trying to learn it all by heart would seem a bit weird? -- And then maybe in a sense you're talking past each other?

Re:My startup failed, then I found out I was unemployable by kamaal on Wednesday April 14, 2021 @05:49AM (#26804893)
>>You don't need to "cram" for something if you understand it well. It's a matter of techniques, not answers.

No, you absolutely do need to cram to get through the interviews. In fact the questions on leetcode are designed for this very purpose. Every question has one common theme. And one 'catch' that you absolutely need to know to solve them.

If you haven't looked at a question in X months chances are you will struggle to solve it quickly even if you have solved it before.

If you are out of a job, just buy leetcode premium. Keep doing it for 15 hours a day. Then start applying for interviews.

Its the dumbest way to hire and get hired.

Not even least surprised people can't hire a person to get a darn thing done.

Re:My startup failed, then I found out I was unemployable by ska on Wednesday April 14, 2021 @11:29AM (#26808451)
> No, you absolutely do need to cram to get through the interviews

I just described a situation where that was not true, so I don't really know what you are responding to. If you are generally on top of problem solving, you don't need to "cram".

This generalizes - "cramming" has origins for formal courses, as a technique to try and pass an exam when you haven't actually done the work and don't understand the subject. It's a last-minute approach; might get you a pass but is hardly ideal.

Re:My startup failed, then I found out I was unemployable by PragmaticPulp on Tuesday April 13, 2021 @01:12PM (#26795583)
Having done it myself, I don't find that I lose the knowledge or experience as you described.

I approach it more as learning different techniques to solve different problems, rather than learning how to identify the trick and recall the solution to specific cues.

Trying to memorize solutions isn't really effective for interview problems, in my experience, unless you really can dedicate time to cramming as many solutions as possible right before an interview and hoping that they ask you one you've seen before.

Re:My startup failed, then I found out I was unemployable by random_moonwalk on Tuesday April 13, 2021 @01:54PM (#26796338)
I agree - I feel like I’m collecting ‘aha!’ moments and they tend to stick if you’ve been banging your head against a wall a bit.
Re:My startup failed, then I found out I was unemployable by dvirsky on Tuesday April 13, 2021 @01:16PM (#26795650)
You don't need to remember the details of a specific problem. Almost all the problems I've encountered interviewing for FAANGs were not found on such sites. You do need to remember classes of problems - graph traversal, tree traversal, dynamic programming, etc etc. But you should expect problems you've never seen before.