this post was submitted on 17 Oct 2025
35 points (97.3% liked)

Asklemmy

50902 readers
970 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
 

How do you guys do it? I just had my first encounter yesterday for a data engineering job and I sincerely fucked up. My mind went completely blank, I was thinking along all the wrong lines and I think I didn't even correctly understand the question, because there were all these words that I've never heard of.

How do you even prepare for something like that?

top 24 comments
sorted by: hot top controversial new old
[–] paequ2@lemmy.today 6 points 8 hours ago

You prepare by fucking up a lot. You're gonna have to repeat this shit experience enough times that you get numb to it.

If you want to fuck up again, but in a more controlled environment, maybe check out some mock interview service like interviewing.io or others.

But, that's how it is. I just went through 7 months of getting punched in the balls before getting lucky.

(Also, leetcode and general prep does help a little too.)

Just remember that with challenges like that, the main purpose is to guage your problem solving skills. You don't necessarily have to complete the challenge in time, don't necessarily have to make it work error free, etc. They want to see how you work through it all. Don't get me wrong, if you are the challenge, that's great. But they mostly want to make sure you have the fundamentals and skills to comprehend the problem and work through to a solution.

[–] i_stole_ur_taco@lemmy.ca 6 points 10 hours ago

You can’t do much preparation since you don’t know what they’re going to ask. You can assume there will be some “basic” programming questions, but that’s really as far as you can take it in advance.

My advice here is for during the interview: keep talking. You should always be talking. That’s how the interviewer assesses you. They want to know how you are deconstructing a problem and how you want to solve it. Sitting there silent for 5 minutes and then banging out some code isn’t giving them anything.

“Ok, I need to modify this array and I should try to do that in place. I need to look up the syntax for that because i rarely need to do this…”

“I don’t remember what a splurgenarf is. Can you give me a quick definition before I get started?”

“I’m going to just slop this incomplete code in and run it once to see the output. It won’t work but I want to see if the first part is on the right track.”

“I think you’re asking me to write a wrapper around a basic network call so that it will _______. Is that right?”

Oh, and you’ll always home your first interview if it’s been a few years. Don’t sweat it, and don’t make your first interview at a place you really really want to work because of that. You need to go through a couple of interviews before your brain remembers how to function in a coding interview because it’s so far divorced from how a developer usually works.

[–] HubertManne@piefed.social 1 points 7 hours ago

I just don't worry about it but yeah I can only do the simplest things when put on the spot and with no time to think or reference stuff.

[–] fixmycode@feddit.cl 1 points 9 hours ago

I agree with every advice given here, I'd just add that you need to be proactive: in some interviews you'll be given a very lax list of requirements and that means that your capacity for risk assessment is being tested, you need to ask questions so that those very lax requirements slowly become very specific requirements. Risk assessment also play a part when you're determining scaling, security, and deployment concerns, and you win a lot of points by at least mention them, that's what is expected of you as an engineer with experience. Maybe you're interviewing for a junior position and the interviewer will say "don't worry about that for now", but what if he's expecting you to worry and you didn't?

[–] GissaMittJobb@lemmy.ml 2 points 10 hours ago

You prepare for these by doing specific exercises for them, sad as it may seem.

Leetcoding problems? You grind them out for a month or two to prepare for doing them during interview loops.

Mock interviews can help too, to get you better at handling the stress. You can use services/groups for these, or just go interview for random places you're not necessarily planning to actually say yes to.

[–] planish@sh.itjust.works 2 points 11 hours ago

One thing that might help is having a broader background in the field and its concepts. If an interview question can feature a bunch of concepts you've never heard of, you might have missing bits of background you could learn more about to fill in gaps. You could go from "I have no idea what a hadoop is or what it's for" to "I know people like to use Hadoop for X and it works basically like Y but I've never used it myself" pretty quickly.

Anyone useful as a computer-related employee is still going to encounter problems they don't immediately understand on a daily basis, though. You need to be able to happily and confidently say "I have no idea what X is, what is that?". An interviewer will be happier to get a clear idea of what you don't know than to see you struggle to pretend to know things, because someone who pretends to know what they don't is a danger in a real workplace. And maybe they'll actually teach you enough to let you solve the problem, or, failing that, to be able to answer the next interviewer who asks you about that thing.

[–] jjjalljs@ttrpg.network 7 points 16 hours ago

Other people have good answers already. Chiefly to ask questions and talk through your reasoning.

But also I've noticed the difficulty of interview questions varies wildly. Some places would give dynamic programming problems I'm terrible at. Others would give trivial "find the largest number in this array of integers, in python. Don't worry about efficiency. " problems.

[–] DmMacniel@feddit.org 15 points 19 hours ago

What words do you mean?

Also that exercise is not about solving a problem but to observe how you would tackle the problem. And you do that, by asking questions when something is unclear, so you can actually formulate a solution on your head and then bring it onto paper, preferable in a programming language you know or pseudo code.

[–] jafffacakelemmy@mander.xyz 6 points 16 hours ago* (last edited 16 hours ago)

If you get stuck, ask for help. Explain what your thinking is, and how you plan to tackle things, and explain what help you need to solve your issue. If you get the job, your employer can work with you if they know you'll ask for assistance when you need it - they expect to provide training or helpful oversight to any new starter. In the interview test, they are checking your basic knowledge, and also whether you are teachable.

[–] LegitimateEngineer@lemmy.world 11 points 19 hours ago (1 children)

I’ve always hated programming exercises live during an interview. Way I dealt with it typically was taking notes about it after (so that if you see something similar in a different interview later, you can be better prepared for it). Doing various interviews coding exercises helps a little too.

[–] wewbull@feddit.uk 7 points 19 hours ago

This is a good point. Being interviewed is a learnt skill. You get better at it by doing more of them. I always advise people to start a job search by going on a couple of interviews that you're not that interested in.

[–] chunes@lemmy.world 1 points 11 hours ago

Sounds like it worked

[–] etchinghillside@reddthat.com 6 points 19 hours ago (1 children)

You essentially have to practice for them by solving a whole lot of them.

[–] DScratch@sh.itjust.works 6 points 18 hours ago (1 children)

That is part of it, but you also need to practice asking clarifying questions and collaborating around a solution. OP was pretty much guaranteed to fuck up their first go. It’s something that gets easier over time.

Also, something that really messed me around was that System Design questions have a particular form and expectations around them. So read up on how they flow and practice those too

[–] Eq0@literature.cafe 1 points 18 hours ago (1 children)

About the “guaranteed to fuck up on the first go”, I got strongly encouraged to first apply to positions I wouldn’t love (but was okay with), just to learn the ropes of interviewing. Once you have done one or two, time to shoot for your dream job!

[–] DScratch@sh.itjust.works 2 points 18 hours ago

Yep! (Though “one or two” might be too few!)

[–] Tetsuo@jlai.lu 6 points 19 hours ago (2 children)

I understand AI is really unpopular over here but for that I think it can be a good training partner.

Give it the name of the business the job description and let it work a preparation plan.

Also a reminder that sometimes we all fail interviews and that's the nature of this exercise. And sometimes interviewer will purposefully put you in an impossible scenario just to see how you behave under stress. So remaining calm and humbly saying what you dont know or understand can be a good thing to do. I did get a job for an interview I felt I had completely failed.

Anyway don't give up and good luck for your next interviews !

[–] planish@sh.itjust.works 2 points 11 hours ago

If you want to practice being asked baffling questions you can't understand, AI might actually be the right tool for once.

[–] rufuyun@lemmy.ml 1 points 12 hours ago* (last edited 12 hours ago)

Agreed. I suggest the free tier of chatGPT voice mode as a rubber ducky - prompted something like, "ask me software dev interview behavioural questions".

I didn't even really bother with getting input on my answers from the LLM, you can reflect on your own how you sounded. It was just good practice being asked a random unexpected question and coming up with a good response.

[–] popcornpizza@lemmy.blahaj.zone 2 points 15 hours ago

I've got nothing helpful to provide for you, OP. But these replies you've gotten from others, I wish I had known years ago. A lot of good advice here.

Best of luck.

[–] wewbull@feddit.uk 1 points 19 hours ago (1 children)

I don't prepare, because it's testing a task that I do pretty much everyday. If I can't do it on-demand I don't see how I can call myself a programmer. That said, I do have some strategies.

Often the interviewer isn't looking for people able to recite detail in the documentation. They are looking at the quality of the code you'll produce. So I concentrate on explaining my approach to the problem, rather than the code.

  • How am I going to structure it?
  • Where are my concerns?
  • What choices am I making about performance?

...and so on. If it's on a whiteboard I'll often write in pseudo-code that looks something like a language, but I'll state that I'm not trying to write perfect, compiler ready code.

I let them guide me to the level of detail they are looking for.

If it turns out they want to score points on me for missing a bracket, or getting the order of arguments wrong, then I take that as a negative against the company. Interviews go both ways, and you're looking for people you can work with too. So if they're going to nitpick in an interview they're probably going to be horrible to work with day-to-day.

[–] natecox@programming.dev 9 points 16 hours ago* (last edited 16 hours ago) (1 children)

If I can't do it on-demand I don't see how I can call myself a programmer.

Context for all of the following: I am a long time programmer who is also a hiring manager for programmers.

Interviews are not real life. During an interview the dynamics of power imbalance between yourself and the people deciding on your livelihood fuck with most people’s brains and cause them to think and behave differently than they do in real life. During an interview people are nervous, vulnerable, and outside of their element to an extreme degree.

Someone struggling to perform at anywhere near their normal level during an interview is exceedingly common and reasonable. It’s super silly to say “if you can’t perform under extreme stress that you won’t experience day to day then you just aren’t a real programmer”.

Edit: tagging @i_am_a_cardboard_box@lemmy.world because they should see this too.

[–] wewbull@feddit.uk 2 points 13 hours ago

Agree with everything you said, but if you're going to ask me about anything, then the thing I do 40 hours a week every week should be a safe subject. If I'm interviewing a chef, I'll probably ask them about working in a kitchen. I may even ask them to demonstrate something.

I think it's a reasonable expectation.

The key thing is to be as relaxed as you can be. Interviewing is a skill you learn, so go for a few interviews that you're not as interested in. Try not to go for your dream job first, because you'll be stressed to hell. Get a couple under your belt first if you can.

Interviews aren't an exam. They're a conversation.