r/learnprogramming • • 3d ago

I had my first software engineering interview. Didn't get the job, but I can't stop thinking about the experience.

I studied a non-CS course at university, but my interest in programming actually started while I was still there.

After graduating, I started teaching myself how to code. But as anyone who's had to support themselves or a family knows, life doesn't always go according to plan. I needed to earn a living, and before I knew it, years had gone by.

I eventually found myself working in technical research and writing. It's technical work, and I've gained quite a bit from it, but I've always wanted to be the person building the software rather than just testing and writing about it.

This year, I enrolled in an eight-month backend development programme where we mainly used Python and Django. After completing it, I decided to switch to Java. I found myself drawn to Java. Since then, I've been spending my free time learning Java and Spring Boot and building personal projects, trying to get myself to a point where I can confidently work as a software engineer.

Recently, I got invited to my FIRST software engineering interview.

I was nervous, of course, but something interesting happened during the interview. The two engineers spent most of the time asking about one of my backend projects. They wanted to understand the design, why I'd made certain decisions, and what would happen if the system received the same event twice.

For once, I was having a conversation about something I'd actually built. I could explain my thinking, and I enjoyed it.

When the interview ended, I walked out feeling like it had gone well.

There was also a 60-minute technical assessment with SQL, Java coding, and multiple-choice questions.

I passed all the SQL test cases. Then came Java.

One question involved implementing a class with a constructor, a cost calculation, compareTo(), and toString(). I managed to get part of the output right, but the calculated value was wrong.

And some of the multiple-choice questions caught me out on things I really should have known. For example, I realized afterward that I'd misunderstood how a PriorityQueue retrieves elements.

A few days later, I was still thinking about the test, looking up questions and finding mistakes I hadn't noticed during those 60 minutes.

Then the rejection email came.

That was disappointing. I'd been trying to get into software engineering for years, and this was the closest I'd come.

The funny thing is that I also started questioning the interview itself. At one point, they asked whether I was familiar with Spring Boot. I said yes, that I'd built three projects using it. They moved on.

Two days later, I found myself wondering why I hadn't explained those projects further. That's how much I was overthinking the whole experience.

I don't know whether the technical assessment was the reason I wasn't selected. But it definitely exposed gaps in my Java fundamentals.

And that's what I'm trying to figure out now.

I've used a lot of time building projects and trying to understand backend engineering. But clearly, I also need to become better at solving unfamiliar problems without help, especially under time pressure.

For those of you who got into software engineering through self-study or a career change, how did you prepare for technical assessments?

Did you put projects aside for a while and focus on DSA and language fundamentals? Or did you find a way to balance both?

I'd really like to hear how you approached it, especially if you were trying to make the transition while working another job.

102 Upvotes

38 comments sorted by

42

u/k1v1uq 3d ago edited 3d ago

Writing software and making it through a job interview are two different disciplines. You become good at writing software by writing software, you become good at job interviews by doing job interviews.

Two days later, I found myself wondering why

First rule, never take job interviews personally. There can be a myriad of reasons why they didn't choose you or choose another one, or maybe they already had someone and needed to fill their interview quota.

I don't know whether the technical assessment was the reason I wasn't selected.

Not necessarily. They were also watching your problem-solving skills, the way you communicate. If you communicate at all.

Did you put projects aside for a while and focus on DSA and language fundamentals? Or did you find a way to balance both?

There is no guarantee. Even if you did all that, they could still go with somebody else. But as a backend SWE, DSA and language fundamentals are front and centre. Speaking of PriorityQueue: One way to get hands on with DSA is writing concurrent code - like an elevator or restaurant simulation.

Check out https://learnharness.ai/. It's a harness usually made for learning, but you can use it to create Job Interview situations.

Best of luck!

3

u/Salt-Marsupial-6690 3d ago

Writing software and making it through a job interview are two different disciplines. You become good at writing software by writing software, you become good at job interviews by doing job interviews.

I've been treating them as the same, assuming if I just build enough stuff the interviews will sort themselves out. Clearly not how it works.

There was a medium article I read recently about a guy who went through like 7 interviews before landing something, and his whole takeaway was that just doing the interviews was what made him better at them. Same thing you're saying basically.

One way to get hands on with DSA is writing concurrent code - like an elevator or restaurant simulation.

I'm curious how you would actually approach something like that. Do you study the data structures first and then build, or just start and figure out what you need as you go?

Check out https://learnharness.ai/. It's a harness usually made for learning, but you can use it to create Job Interview situations

I will check out the link. cheers.

6

u/k1v1uq 2d ago edited 2d ago

Do you study the data structures first and then build, or just start and figure out what you need as you go?

Yes, you should have a basic understanding of every data structure.

Meaning, know what exists and roughly what each is for. Luckily, there aren't as many that really matter in real projects: list, hashmap, mutex, queue, stack. Sorting algorithms, maybe.

The best advice I can give is this: Be curious. Find out how real systems actually work, imagine yourself writing a torrent client. Find something that piques your interest. That is how you come up with the right questions to ask, why use it, what are the limitations, weaknesses, alternatives, and so on

Final tip:

When you're asked if you have any questions for them, always ask how they found your application, and whether there's anything they wanted you to improve. Hopefully, you get some concrete results from the meeting as well.

3

u/ChickenOfTheFuture 2d ago

One of the best pieces of advice that I got was to apply for a lot of jobs you don't want. Prepare for the interview as if you want the job, but you know you wouldn't take it if it was offered. Spread it around different industries and job types. Interview training is important.

2

u/jacksonanna373 2d ago

For an elevator sim, model requests and state first, then build sequentially; add concurrent arrivals after it works. Learn a structure as the design calls for it.

8

u/ignotos 2d ago

First rule, never take job interviews personally. There can be a myriad of reasons why they didn't choose you or choose another one, or maybe they already had someone and needed to fill their interview quota.

This is a really important point. You can never conclude too much from one individual job application, as there are just too many factors outside of your control. Even if you did great, it's a numbers game.

You can absolutely learn from and reflect on the interview experience, and things you could improve - but don't focus too much on the outcome of one specific interview, because that outcome is not a 1-to-1 reflection of your performance alone.

1

u/decrementsf 2d ago

Feels right. I suppose I agree.

1

u/SoloArtist91 2d ago

+1 for learnharness. Once you adapt your learning style to it, it's great. Of course, no one resource is going to cover all the bases.

12

u/Navi2k0 3d ago

Hey man, I've been trying for years, and I'm not even close to a first interview. So props to you!! You actually had an interview. It's really valuable experience. I would kill for an interview, lol
Hope all the best of luck to you

4

u/Salt-Marsupial-6690 3d ago

I appreciate it man. Honestly, just getting the interview felt like a win for a couple days there lol. You'll get your shot. It seems to be a numbers game more than anything (and quality too I think). Keep at it.

2

u/ShiroNoSenso 3d ago

You should also spend time learning cloud development.

Deploying to cloud, how to deploy, what components to pick for your architecture, how all these stuff works together etc (AWS Solutions Architecture course)

After that you can start looking up how teams in MNCs deploy their applications from start to finish (MRs, deployment env, testing, DevOps etc)

2

u/Salt-Marsupial-6690 3d ago

Useful, thanks. But honest question though, isn't this like a lot to bite off all at once right now?

1

u/Andreea_tucker04 2d ago

Yes, I'd park cloud for now. The assessment gave you a specific gap to work on in Java and timed problem-solving, adding cloud architecture and deployment would split your study time.

1

u/ShiroNoSenso 2d ago edited 2d ago

it is but that’s part of being a SWE, even at work rn, i’m constantly bombarded with new information everyday.

and believe me, i’m glad i spent time learning these back in school as there rly isn’t time to learn all these once you start working.

It’s a lot more impressive to interviewers if you can tell them that on top of building apps with spring boot, you deployed them on AWS/GCP etc using Kubernetes/Docker, designed your cloud architecture using so & so etc.

You don’t need to know every single nitty-gritty detail rn but you should at least know how apps are deployed, why it’s done this way big picture-wise.

And these information are complimentary to the other parts you’re learning so it’s not as jarring as you might think.

The road to being a SWE is really difficult but learning these keeps you ahead of other candidates.

Reality is, most roles only accept 1 candidate so you’re literally fighting tooth and nail against the other 200.

5

u/letsgoowhatthhsbdnd 3d ago

didnt listen to this guy. waste of time. nobody cares about this in your first swe job

2

u/ShiroNoSenso 3d ago

sorry to break it to you buddy but if you’re aiming for a C tier company; maybe you might get in with just the basics

Nowadays companies expect you to be at least familiar with the entire development pipeline & cloud if you want to get into A tier companies & above.

1

u/letsgoowhatthhsbdnd 2d ago

no this guy just wants to waste your time don’t listen to him. focus on the fundamentals. nobody care if’s a fresh grad has worked with AWS at an enterprise level because they can’t. lol

0

u/ShiroNoSenso 2d ago

go ahead & start applying for jobs with just projects on localhost and see how far you’d get.

man here is delusional about expectations in an overwhelming employers market

4

u/AlSweigart Author: ATBS 2d ago

Yeah. Don't worry about it too much.

Nobody in this industry knows how to assess engineering talent. You'll get rejected because you didn't read the interviewer's mind or because you had the "wrong" opinion on a technical topic.

Honestly, it's probably more important to be personable and seem like a coworker they would be able to get along with. People hire who they like. It's different than school, where you're trying to get the highest grade by answering the most questions correctly.

Any advice people give you is likely to apply at some places and not others. It's a numbers game; just keep interviewing and don't take the rejections seriously. You'll never get an explanation for why a company rejected you and you'll go mad trying to figure it out.

EDIT: Hell, for all you know, they already have a person in mind for the job but they need to do interviews for office politics reasons. The engineers who are interviewing you might not even be aware of this. One time i was interviewing a guy and a manager came in and said they got the job and we should all go out for drinks. The guy seemed good and I would have given a thumbs up and all, but, uh, fuck me and any input I might have had on the matter, I guess. It was a total waste of my time to interview him if they're not going to bother checking in with me.

Job hiring is not an objective process. Don't get bummed if you didn't make it, nor feel qualified if you did.

3

u/SigridFischer42 2d ago

Focusing on Leetcode's "Top Interview Questions" set helped me target the array and PriorityQueue problems that actually came up, so I'd recommend starting with those before moving to broader topics.

3

u/dialsoapbox 2d ago

I'm more impressed by non-cs background still landing interviews, so either you have a stellar resume or it was a phishing scam trying to get your info.

For those of you who got into software engineering through self-study or a career change, how did you prepare for technical assessments?

I used to attend meetup groups that did monthly mock technical interviews. often-times with people/hr working in industry and it wasn't uncommon that people would go just to meeet those people and get a good mock interview in.

sometimes it was like panel-style interviews where people would ring a buzzer and explain some reasoning, but usually like round robbin type.

then covid hit and that kind killed everything.

then ai.

then the meetups kind of fell apart because the building was sold and the organizers had a hard time getting people to come to the new location kind of out int he boonies.

2

u/heather_b_russell3 3d ago

That's awesome they focused on your backend project. It shows they were really interested in your work. It's a good sign for future interviews too.

2

u/LittleJohnsDingDong 2d ago

As someone who has done hundreds of coding challenges through their career, I still will lie in bed at night beating myself up about a stupid coding interview question I should have known ten years ago. I will never forget one where I was being watched live and basically drew a blank the whole time.

But now you have the first one behind you. Try not to dwell on what you missed. They’re designed to be hard. Study what you missed and then find another. You got it.

2

u/SharkSymphony 2d ago edited 2d ago

What helped me immensely in preparing for interviews was 1) actually giving one, so I could see what it was like on the other side of the divide; 2) a starting career in Developer Technical Support, 3) practice at interviews by doing several of them.

I'll focus on (2). That job involved cranking out a lot of code samples to solve what were usually pretty simple problems, plus explaining to the client how the code samples worked. That's exactly what you do in a coding interview!

So yeah, I think it could be helpful to drill small code problems, so you get really familiar with the subset of Java you're likely to use to solve interview questions and the time pressure you're likely to face. You can find banks of interview questions out there to practice on. Sometimes a recruiter will even offer one. You'll see that there's really a broad gamut of what programmers think is appropriate to ask (a couple of interviews I had in the past included brain-teaser puzzles!), but they mostly boil down to slightly tricky problems that are severely constrained so you can bang out a solution in an hour (or however long the interview is).

Don't be discouraged! The more interviews you do, the less scary they should become. And remember: if you get rejected it does not necessarily mean you need to become a better programmer – you may just be a bad fit for them, for whatever reason. Address any gaps you think you had, not whatever you think the employer thinks you had.

2

u/decrementsf 2d ago

Wake up in the morning. Smack. Smack. Smack. Yep. Breakfast cereal still tastes the same. The birds are still chirping. It looks sunny out there too.

A useful social frame is to think of the last presentation you were in. The most normal thing is our thoughts are split between those preoccupations going on in our life. Will the date call back. The health issues of a loved one. Financial distress. Did anyone notice my pimple. The project is urgently behind schedule and I cannot afford to sit through this meeting. Due to this when you ask what a person remembers of a presentation often they miss a lot. And particularly do not notice the blunders and mistakes. Can blunder your way through a presentation and wing it completely unprepared. Smack. Smack. Smack. Yep. Breakfast cereal still tastes the same today.

Another useful frame is curiosity. When there is a thing you are stressing about and have nerves can reframe it as curiosity. I wonder how this interview will go? Curiosity is good for soaking up the feelings of anxiousness.

You are in the game of collect wins. A win is going and bombing and interview. Collect your thoughts afterward. After ten software engineering interviews I bet you're beginning to collect themes. I bet your stories are becoming polished.

Success is often being willing to collect one more failure than the next guy.

2

u/6_lasers 2d ago

As someone who has gone through many interviews from the interviewer’s side, I would say that there have been many times where an interview went really well and I recommended a hire, but they didn’t get the job through no fault of their own. I can’t be sure, but it’s possible that it might be the case here. 

Typically there will be more interviews than there are positions available (sometimes as many as 4-5x), and I’ve had times where I interviewed 5 people and 3-4 of them were excellent and I’d be happy to work with any of them. But if there’s only 1 position available, sadly, they can’t all get the job, so it might end up being someone whose skills or past experience more closely aligned with the job description. 

Or sometimes other random circumstances happen. I remember one time corporate just closed down the job position entirely while we were still interviewing candidates, because we went on a department-wide hiring freeze. That one was a real bummer to me. 

2

u/Sachu_James 2d ago

first interview i did i walked out buzzing too then spent days replaying every answer the project chat going well is a real win though, are you going to drill java basics next or keep building?

2

u/LangyMD 2d ago

Where I work there generally aren't any real technical assessments as part of the hiring process. You're interviewed, your responses, questions, and resume are judged, and then you get a probationary position for three years during which you can be let go easily if you fail to meet expectations.

I'd generally find the question and answer session much more valuable and informative of someone's ability to handle software engineering challenges than a canned technical test anyways. How well you understand how and why something works or doesn't work - and hwi well you can explain it - is much more important than whether you currently know a specific set of programming instructions by heart.

1

u/Ok-Emergency-1825 2d ago

This is a common hurdle for many. What specific aspects of the interview are sticking with you the most.

1

u/YogurtclosetLow7064 1h ago

Take it slow and don't stress too much. I'd recommend working on both projects and DSA. Keep learning and improving, and eventually something will work out. Don't give up!

7

u/[deleted] 3d ago

[removed] — view removed comment

1

u/Salt-Marsupial-6690 3d ago

Hey. Thanks for the encouragement.