Live data from Hacker News

Ask HN: How does one have the mindset to study for coding interviews?

news.ycombinator.com

31–40 of 55 posts

Re: Ask HN: How does one have the mindset to study for coding interviews?

#31
post #22

Earlier quoted context omitted.

If I'm supposed to feel dumber, it's working.

Looks like an (unusual) abbreviation for 'asshole'

Ha you're obviously right. Did you deduce that on your own? I think I immediately excluded that from the set of possibilities because well... why wouldn't they just write asshole?

Re: Ask HN: How does one have the mindset to study for coding interviews?

#32
I spend 2,5 month preparing every workday additional an hour and in weekends 10-15h (the whole weekend).

I failed the first phone interview because I was absolutely unable to guess what he was looking for.

2 years later again 2,5 month preparing for it. This time also large system design. I make it to inside. I still not in.

It is emotional stressful. That's how it is.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#33
I’m going to echo a few other comments on here and say that, although it may frustrate you to hear, focusing on your mental health is the urgent priority here—-but also, thankfully, something that will have positive side-effects across many domains.

As someone who has struggled seriously with self-harm in the past, this is not just a regrettable by-product of coding problems; this is a significant attempt by you/your body to regulate an environment that feels out of control, to cope with overwhelm, to distract yourself from facing something else—-ymmv, but until you work on understanding what triggers this (just coding? Other things too?), and develop tools for dealing with situations that provoke these intense feelings, this problem will re-occur in one form or another. Essentially, it’s too soon for a focus statement like “get better at leetcode” because the problem statement hasn’t been defined yet. That’s something you (and a therapist and/or workbook, online resource etc, if money is a challenge) can do together.

Now the good news: not only can you address this, but doing so will have amazing and unforeseeable benefits in more areas than just coding. This stuff never fully disappears, but I can now look at a passing thought to hurt myself as a “check engine light”—-it does not have power over me, it occurs seldom, and if it does, it means something needs addressing.

Best of luck.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#34

Solving stupid leet code problems doesn't make you a better engineer. Try putting more effort in learning best engineering practices, read books, blog posts and try to implement them in your current job. Don't over think about compensation. Find a company that has good work life balance instead. Trying for more compensation is fine, but you can do find a much fulfilling job if you try to make yourself better.

> Solving stupid leet code problems doesn't make you a better engineer. If companies use it for hiring screens, it does, indirectly: work experience is the main thing you need to be a better engineer, and the more time you spend working instead of spinning your wheels trying to get hired...

And honestly, working with people that can’t solve problems in a simple way is a nightmare. Leetcode at least encourages this.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#35

Earlier quoted context omitted.

I think I'd agree, but my argument is that going from a medium problem solved "pretty easily in a bad way" to a "fully optimized and efficient way" is easier than most people think. There's only a dozen or so patterns needed. As an example, if you know the two pointer technique ( https://algodaily.com/lessons/using-the-two-pointer-techniqu... ), you're well on your way to solving at least 1/3 to half of array problem…

Some friendly feedback: I clicked through to your article about the two pointer technique and, AFAICT, there's nothing for me to do or read here. It says "In this guide, we'll cover..." but it's not clear how to actually view the guide. I'm guessing - without having clicked around at all - that my next step would be to create an account and visit the page again, but that's not at all clear to me as an unauthenticated…

Thanks so much for the heads up :-) It's amazing how much of the user's perspective you miss when you're heads-down in code all day.

I've added some navigational indicators to hopefully make it a little clearer that you can press the footer buttons or swipe on the screen. Appreciate the friendly feedback!

Re: Ask HN: How does one have the mindset to study for coding interviews?

#36
post #16

You need to spend some time on mental health. if you need help, get help. either stay at your current job or take a new job that you can get now. in either case you need to figure out how to deal with stress and how to value yourself. if you really are going to self harm when you struggle on a freaking leetcode problem, how do you think it’s going to be if you actually get the job you’re aiming for and it’s hard ever…

> when you struggle on a freaking leetcode problem I'm all for the message of "get help if you need it," and it sounds like OP needs the help of a professional, so I upvoted your comment. But minimizing the triggering event is not helpful; the things you see as trivial or unimportant might be insurmountable or critical to someone else.

I could have worded that better. my point is not to minimize the stressful situation, it is that the stress isn’t going to end when leetcode is done.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#37

> I'm not interested in companies that do alternatives to coding interviews as they generally pay significantly worse than what I'm expecting, but whenever I do Leetcode problems I frequently dive into the depths of depression and self-harm Maybe getting a lower salary is very well worth it if it lets you avoid the self harm and depression. SE salaries in general are pretty good so even if you’re in the lower end of…

Honestly I'm fine on the job and I'm usually not stressed like I am when I do leetcode. I'd be fine keeping my current gig but the TC increase even if/when I get promoted is lower than the average Google new grad offer.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#38
post #16

You need to spend some time on mental health. if you need help, get help. either stay at your current job or take a new job that you can get now. in either case you need to figure out how to deal with stress and how to value yourself. if you really are going to self harm when you struggle on a freaking leetcode problem, how do you think it’s going to be if you actually get the job you’re aiming for and it’s hard ever…

weirdly i'm usually fine on the job, I don't feel the same way at all. I'm generally at ease even.

It's tough, it's like I feel attacked by the fact that I can't solve these in 5 minutes like the other folks I see on Linkedin.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#39
post #16

You need to spend some time on mental health. if you need help, get help. either stay at your current job or take a new job that you can get now. in either case you need to figure out how to deal with stress and how to value yourself. if you really are going to self harm when you struggle on a freaking leetcode problem, how do you think it’s going to be if you actually get the job you’re aiming for and it’s hard ever…

weirdly i'm usually fine on the job, I don't feel the same way at all. I'm generally at ease even. It's tough, it's like I feel attacked by the fact that I can't solve these in 5 minutes like the other folks I see on Linkedin.

People always show their best side on social media sites, especially LinkedIn. Trying to measure up to an image that someone has crafted of themselves to get a job is somewhat like believing that the pictures people post on Instagram match their daily reality. You are walking into a well-known trap.

Trust me - as someone who listens to coding candidates on occasion, the majority do not just come in and whip out answers in a couple minutes. Those people are rare. And we sometimes like the slower candidates better because we get to see how they think instead of seeing just a quick answer.

Re: Ask HN: How does one have the mindset to study for coding interviews?

#40

Earlier quoted context omitted.

Sorry, but I couldn't find a page named `a` in section 7 of the manual ;) what does a(7) mean?

a * * * * * *

Speaking of assholes, your recent comments have been so full of assholery that I banned your account. I decided to unban it, and just warn you instead, because you've also posted interesting things.

It's dismaying and shocking to me that such an active HN user would feel free to poison this place as badly as you have been doing: attacking other users, pompously dissing the community while participating in it, denunciatory name-calling...none of this is ok here. If you want to participate in the commons, please stop pissing all over it.

https://news.ycombinator.com/newsguidelines.html

Edit: it turns out we've been through this multiple times before. If you want to continue participating here, it's time to start doing so respectfully.

https://news.ycombinator.com/item?id=23047709

https://news.ycombinator.com/item?id=22859403

https://news.ycombinator.com/item?id=21966283

https://news.ycombinator.com/item?id=21909746

https://news.ycombinator.com/item?id=20490008

https://news.ycombinator.com/item?id=20430846

Post reply on HN