How to NOT Fail a Technical Interview

  Рет қаралды 1,540,290

Fireship

Fireship

Күн бұрын

Пікірлер: 1 900
@ThePrimeagen
@ThePrimeagen 2 жыл бұрын
What an amazing video :)
@mcp866
@mcp866 2 жыл бұрын
The man himself
@diegovulcan1
@diegovulcan1 2 жыл бұрын
THE MAN THE MYTH THE LEGEND HIMSELF
@HacksoreDEV
@HacksoreDEV 2 жыл бұрын
FIRST TRY BTW
@ThePrimeagen
@ThePrimeagen 2 жыл бұрын
@@HacksoreDEV yayaya
@gergelynemeth8244
@gergelynemeth8244 2 жыл бұрын
Blazingly correct :D
@magicsweet
@magicsweet 7 ай бұрын
"stop caring" I think that's the most valuable advice I've ever got wtf
@user-he4ef9br7z
@user-he4ef9br7z 2 жыл бұрын
No. The interviewer doesn't actively help you. In fact if you don't answer the question in 120 seconds, he presses a button which releases lions on you.
@Md-sl2sy
@Md-sl2sy 3 ай бұрын
Happened to me
@cruisethomas3244
@cruisethomas3244 2 ай бұрын
me 2​@@Md-sl2sy
@ChazWalkerWonders
@ChazWalkerWonders Ай бұрын
That's only at Amazon.
@NeetCode
@NeetCode 2 жыл бұрын
When the first question turns out to be a warmup, and the REAL question is a 4-D dynamic programming problem 🙂🔫
@CulesCoding
@CulesCoding 2 жыл бұрын
The first one was a joke
@swapnilgohil7280
@swapnilgohil7280 2 жыл бұрын
Yooooo im preparing for interviews by following your website
@CreeperFace75
@CreeperFace75 2 жыл бұрын
didnt expect this crossover
@csmastery1337
@csmastery1337 2 жыл бұрын
using your site
@halfbakedproductions7887
@halfbakedproductions7887 2 жыл бұрын
Or you're asked about CS theory at interview, but you're hired and your actual day job is writing Java 5 test cases for the com.megacorp.EnterpriseFrameworks.Factories.Bullshit.BullshitFactoryFactory.BullshitFactory.Collections.SomethingAlreadyImplemented - which was written in 2009 and hasn't been touched since.
@Submersed24
@Submersed24 Жыл бұрын
Here I am an experienced dev at a top company and I got super flustered on my coding interview for a job I applied to. I feel like you do a bunch of studying, get the job, then forget literally everything you studied and have to start from one all over again. No one even uses these sorting algorithms anymore without documentation right there in front of you. It’s 90% architectural understanding 10% algorithms
@ccampau
@ccampau 9 ай бұрын
Same here. Seems like every tech interview or skills assessment is just some way for them to score a gotcha question. Of all the development I've done, I have never had to come up with a brand new algorithm doing x, y, z and sometimes a if x and z are not divisible by the square root of 7 and it's a Tuesday all in 15 minutes. It's like asking a building contractor to show you how to make a hammer, nails and a saw from scratch on the spot.
@MinecraftMasterNo1
@MinecraftMasterNo1 8 ай бұрын
@@ccampau to be fair, making you fail on purpose is a good way to judge how you handle not knowing or not being able to solve something. If every question was like that then it'd be sketchy, but one curveball isn't gonna ruin the interview. If it does, you're better off not working for said company anyway.
@davidcarlsson1396
@davidcarlsson1396 7 ай бұрын
I went into a argument with 3 other devs. It was regarding: "Find the minimal value in this list of 10k elements" They just did list.sort()[0] I wondered if they were idiots (without saying the word idiot). Algorithm-understanding has its place.
@laughingvampire7555
@laughingvampire7555 6 ай бұрын
it is pretty retarded in my opinion but is the standard of the industry because code interviewers have no clue on how to interview so they jump to the low hanging fruit, "algorithms" and then they justify it with random nonsense like "oh, I wanna know if you can ask questions before coding or you will make the company waste time"
@marceldiezasch6192
@marceldiezasch6192 5 ай бұрын
@@davidcarlsson1396 Sure, you can find the minimum of an unsorted list in O(n) manually, but O(n*log(n)) isn't that terrible for most reasonably sized datasets. It's one of those things where being too lazy/ignorant to see the good approach probably won't have any relevant effects.
@crownie9652
@crownie9652 2 жыл бұрын
01:20 - Stop Caring too much 02:56 - Can ask the interviewer for questions as he/she wants you to succeed 03:20 - Think out loud and explain your thought process as you code 03:30 - Say Something (unless its shit so just stfu) 03:47 - Explain what you're doing any why as you code. 04:05 - Ask clarifying Questions / Keep Composure 04:54 - Express your passion for code 05:01 - Avoid Majic 05:29 - Don't be too clever 05:58 - Never Believe The Internet 06:22 - Never Mind, Always Believe the Internet 07:00 - Don't say Blazingly Fast (Use BigO notation to express "How Fast") 07:12 - Study Time Complexity 07:43 - Enjoy your job by centering a div or someshit
@Dyanosis
@Dyanosis 2 жыл бұрын
Explain what you're doing as you code* Avoid Magic* Enjoy your job* How did you edit this post and you still have spelling mistakes?
@crownie9652
@crownie9652 2 жыл бұрын
I just don't understand why people always have something to complain about. It's just a freaking typo but you can still read it.
@YannMetalhead
@YannMetalhead 2 жыл бұрын
Thanks.
@gianclgar
@gianclgar 2 жыл бұрын
am i job?
@omarhamdy2166
@omarhamdy2166 2 жыл бұрын
@@gianclgar 😂😂😂
@berhell.videos
@berhell.videos Жыл бұрын
Just created a summary for myself about what was mentioned: 1) Break Down the Problem: Start by breaking down the problem and creating a flow diagram or writing pseudocode. This helps manage anxiety and provides a strategy to solve the challenge. 2) Ask Interviewers Questions: While interviewers can't give you answers, they want you to succeed. Ask clarifying questions to ensure you understand the requirements. 3) Take Your Time: Before diving into coding, make sure you fully understand the requirements. Investing time upfront prevents mistakes and the need for corrections later. 4) Think Out Loud: Explain your thought process and decisions as you work through the problem. Interviewers want to understand how you approach problem-solving. If you're not comfortable talking while coding, consider explaining your thinking periodically. 5) Ask for Clarification: If you encounter difficulties during the code challenge, ask the interviewer for help or clarification. Don't let frustration affect your composure. 6) Avoid Language-Specific Tricks: Focus on fundamental computer science principles and operations that work across different programming languages and environments. Avoid relying on language-specific shortcuts or tricks. 7) Study Time/Space Complexity: Understand and analyze the time and space complexity of your code. Explain how efficient your solution is and how it performs in different scenarios.
@i_am_called_glitchy
@i_am_called_glitchy Ай бұрын
🤓
@rudolfkorcsmaros
@rudolfkorcsmaros 2 жыл бұрын
At 6:09 the first condition is actually going to print out just the index, instead of FizzBuzz.
@johningles1098
@johningles1098 2 жыл бұрын
Ok great, I thought I was an idiot for a min there.
@rondamon4408
@rondamon4408 2 жыл бұрын
I saw the same
@dmitrykonstantinov7723
@dmitrykonstantinov7723 2 жыл бұрын
Hm, mistake or byte? 🤔
@ensar8177
@ensar8177 2 жыл бұрын
It is probably a Fireship sarcasm or maybe he is a bad programmer.
@RavenGhostwisperer
@RavenGhostwisperer 2 жыл бұрын
Yeah, just wanted to comment on this as well :D
@thedukebelmondo
@thedukebelmondo 2 жыл бұрын
I wish interviewers were more like Primeagen. In most interviews I did, the interviewers made clear they didn't want to be there by giving half-assed questions without a clear objective and getting pissed when you ask something. Occasionally, the planets align and you are interviewed by someone who doesn't see you as a rival, but as a fellow developer who is going through the same process they once did. Remember: Interviews can say a lot about the company you are trying to join. Great video as always!
@patterntrader690
@patterntrader690 2 жыл бұрын
We need more collabs between you two. Best 2 KZbinrs in tech hands down
@wtho
@wtho 2 жыл бұрын
I think he meant best dev KZbinrs. For me there's a clear distinction between tech device reviewers and software developers, but they both are called tech KZbinr/tech Twitter 🤔
@NithinJune
@NithinJune 2 жыл бұрын
what about Ben
@patterntrader690
@patterntrader690 2 жыл бұрын
@@NithinJune good point, he’s up there. Although I always felt like his content lacked the depth that Fireship and Primeagen have
@ES-cf4ph
@ES-cf4ph 2 жыл бұрын
And funny ones, too
@tjgdddfcn
@tjgdddfcn 2 жыл бұрын
Mental outlaw pretty good too
@waffle8364
@waffle8364 Жыл бұрын
I used co pilot during a tech interview. they didn't care as long as I was explaining my intent first. but also we weren't coding leet code type of problems. I was implementing at a much higher level than co pilot could be useful for. They even said they were impressed by it and how it drastically sped up the coding allowing me to focus more on the implementation and architecture of the feature
@fiskebent
@fiskebent 2 жыл бұрын
After 40 years in IT, I had my first technical interview a month ago. It was a lot simpler than what I’d feared. Hashmaps did come up though which seems mandatory.
@monsterhunter445
@monsterhunter445 2 жыл бұрын
Depends on the company and the role. It can be easy to medium to very hard depends on whether the company wants junior developers or someone working on something very algorithmic. Personally I have gotten various degrees of difficulty. I would say Amazon was the hardest so far from the FAANG. Microsoft was easy but I lacked communication skills.
@samuelbaird4983
@samuelbaird4983 2 жыл бұрын
Hashmaps are also the only advanced data structure I've actually used in a real-world codebase as well
@MilanDrazic
@MilanDrazic 2 жыл бұрын
What is hashmaps? is it spread on bread
@MRWTrades
@MRWTrades 2 жыл бұрын
@@MilanDrazic hash you smoke but on js toast
@imad644
@imad644 2 жыл бұрын
How long did it take you to get “40 years” of experience? 🙃
@autisticscooterdriver
@autisticscooterdriver 2 жыл бұрын
I loved that time I went on a job interview series with 5 rounds, being upfront beforehand that I didn't know C++ particularly well, and they assured me that it was not an issue, and that I could code in any language. I assured them I would get up to speed quickly if I got the job. I go through all the motions, do pretty alright in all of them, using Java where necessary. Then comes an e-mail, oh, by the way, we'd like you to have another final round with two of our more senior developers, and it will be in C++. Medium complexity task coupled with unfamiliar syntax made it a complete mess for me. I simply got stuck and had no way of completing the task.
@byrondumont-eve
@byrondumont-eve 2 жыл бұрын
I just got laid off from my software job and am going back into the job market. I've kinda been freaking out about it for the last couple days since it's been 4+ years since I've interviewed. This video was timely and had much needed levity and some very solid tips that bear repeating: slow down, talk it out, and study Big O Notation! Love your content, keep it up!
@joseyo93
@joseyo93 2 жыл бұрын
I'm sorry to hear that man. I think you'll be just fine. Maybe big tech is slowing down a little, but there are several other companies still hiring like crazy right now.
@byrondumont-eve
@byrondumont-eve 2 жыл бұрын
@@joseyo93 I've got opportunities for what I do, it's just fighting the impostor syndrome long enough to succeed in the interview. Thanks for the vote of confidence though 👍
@user-yy3ki9rl6i
@user-yy3ki9rl6i 2 жыл бұрын
hey man, i know interviews are scary, but honestly as long as you be confident (even if you have to fake it) its gonna be okay! good luck to you dude, i believe in you.
@Dyanosis
@Dyanosis 2 жыл бұрын
Big O Notation, I've found, is hardly ever actually discussed/cared about in actuality. You'll talk about "is this efficient enough", but you're not going to be saying "It's O(n*log(n)+1) and we need to make it O(n)". So don't stress it.
@nieczerwony
@nieczerwony 2 жыл бұрын
Man why are you freaking out? If you have been working constantly for last 4 years as dev, then you will be set for interviews. Unless you go for like principal/senior role and you have to do like design patterns etc. Technical stuff you use all the time, but when it comes to design, algorithms and data structures these are not used on daily basis.
@Sheharyar69420
@Sheharyar69420 3 ай бұрын
for i in range(1, 100): print(i) if i % 3 and i % 5 == 0: print("Fizz Buzz") elif i % 5 == 0: print("Buzz") elif i % 3 == 0: print("Fizz")
@Mutual_Information
@Mutual_Information 2 жыл бұрын
I give a lot of machine learning interviews.. the one piece of advise I can give: Don’t fake it. It’s very hard to trick an organization into thinking you know a subject when you actually don’t. If you want to pass ML interviews, study ML frequently and consistently, not to pass interviews, but to grow a valuable skillset. Companies will then seek you out.
@ouo5634
@ouo5634 2 жыл бұрын
One question, they don't ask questions like in thw video in ML interviews right? What kind of questions do they ask?
@Mutual_Information
@Mutual_Information 2 жыл бұрын
@@ouo5634 I can’t say what we do at Lyft, but broadly, companies test statistics and probability theory first. So the book “All of Statistics” is a great place to start. Outside of that.. there are a million probability puzzles out there. Things concerning decks of cards, flipping coins, spinning a roulette wheel, etc..
@doc8527
@doc8527 2 жыл бұрын
that's fine and reasonable for most devs, the core problem is always leetcode, which you can "fake" it somehow. Though tons of ppl I had known said you just need to understand the pattern, but 100% of them are just spending tons of time to hard memorize all the patterns and solve 200+ lc questions, and hope they will get the same types of questions during the interview. In fact, this trick is 100% working so far whether I like it or not.. You could say its a fair game, but the truth is that it will cause the bar higher and higher as more ppl jumped into this game. It's just like there is always someone accepting a lower salary than you in order to get the job. It's bit of cliché I guess.
@InvictusM0n
@InvictusM0n 2 жыл бұрын
So for ML interviews Statistics and Probability seems like a must and apart from ML algorithms how much do you guys (as an ML interviewer) value DSA, like a full grind or is it not that valuable for ML?
@doc8527
@doc8527 2 жыл бұрын
there is a huge advantage for employer side because it doesn't require high abilities from the interviewer to setup the meeting. The interviewer just need to build thing upon that leetcode question. When it comes into the type of interviews you mentioned, it actually required the asker has a lot of insights from many aspects. There are so many times the interviewers(they are software engineers) have no idea what they are talking about, randomly use some technical terms, don't know how to continue the talk because they are just more junior than you when the topic is out of their boundary.
@timothyhuynh6592
@timothyhuynh6592 Жыл бұрын
beginning my job search and interview prep process right now. this video definitely made me feel better! I really appreciate the casual, comedic approach to such a daunting topic :')
@simbiat
@simbiat 2 жыл бұрын
I've been in tech for over 13 years and somehow so far I had only 2 tech interviews, while the rest sent me some tech-test/task to do at my own time. 1 of the interviews was essentially an "ABCD test", so nothing special, but when I was not sure of the answer for whatever reason, I voiced my logic in choosing one over the other and interviewer appreciated it (his words). Got that job, but I turned it out for another one (which is mentioned in next sentence). The other 1 had a proper task that I needed to code, something about counting possible combinations of tossed coins, that you need to flip after initial toss or something like that. I barely remember what I did, but I was talking quite a lot, while coding, explaining everything. I remember that it had 3 conditions which were required to be tested and by the end of the time limit 1 of them was partially failing, but I still got the job. Only to be laid off 9 months later 😅
@IffyEdem
@IffyEdem Жыл бұрын
Word
@klirmio21
@klirmio21 Жыл бұрын
@simbiat so we have to practice talking out loud?
@sherbertgerbert9719
@sherbertgerbert9719 Жыл бұрын
why were you laid off?
@simbiat
@simbiat 11 ай бұрын
@@KZbin_IS_WOKE nope. never used it even once. nothing similar even. and I did not have access to DB (only though some UI features, that essentially returned JSON).
@sammyjones8279
@sammyjones8279 7 ай бұрын
Oof!! Almost the exact same happened to me. Big scary tech corp hired me and said they'd train me since I was a little green... Then sat me in a corner for 9 months until my manager got sick of it and dropped me like the hot garbage I was.
@dragonicplayz9069
@dragonicplayz9069 3 ай бұрын
fizzbuzz is like introduction to programming 101 question. I actually liked the last concatenation code never thought I could approach this code this way.
@DerkerBluer
@DerkerBluer 2 жыл бұрын
This is legitimately one of the funniest videos on your channel. I couldn't stop laughing. Very informative too, of course.
@ZuriPOL
@ZuriPOL 2 жыл бұрын
imo java for the haters was funnier
@vaisakh_km
@vaisakh_km 2 жыл бұрын
@@ZuriPOL ofcourse🤣
@ZalexMusic
@ZalexMusic 2 жыл бұрын
7:49 😂 😂 😂
@MRWTrades
@MRWTrades 2 жыл бұрын
im in hysterics
@Soulxstar
@Soulxstar 2 жыл бұрын
Weird to see you here i knew you were a programmer but didn't know you were suscribe too
@mericet39
@mericet39 Жыл бұрын
Last time I was in a live coding interview, I padded out the time by writing unit tests. You can never go wrong with them. Writing them gave me the time to work out what to do next, as well as earning kudos from the interviewer. I got the job. I turned it down.
@thisismyplaylist
@thisismyplaylist Жыл бұрын
were you padding out an unit test ? how was it ?
@bishalkar5614
@bishalkar5614 Жыл бұрын
Give me a job bro. I need it
@pairofrooks
@pairofrooks 11 ай бұрын
That's low key brilliant 😂
@RemnantCult
@RemnantCult 2 жыл бұрын
The one day where I felt I failed as a programmer was when I had an interview and was told it was going to be just a simple talking interview but it turned into a huge high speed technical interview. I didn't prep at all and at one point froze like a deer in headlights. I am not proud of that day.
@simpan197
@simpan197 2 жыл бұрын
That's not your fault frankly.
@hakametal
@hakametal 2 жыл бұрын
We've all been there. I think we have to go through that pain to become better developers. Fail upwards.
@Aschentei
@Aschentei 2 жыл бұрын
i'm only speaking anecdotally but my tip is to never trust when they say "simple talking". In one of my interviews I was asked to talk about my favorite classes, ended up baiting me into explaining super technical terms and I almost choked
@attackemartin
@attackemartin 2 жыл бұрын
I still feel the emotional damage from my failed interview 🙈 usually I'm very confident in what I do and what I know and being capable of. But that day, after the interview, I considered switching jobs altogether
@hakametal
@hakametal 2 жыл бұрын
@@attackemartin That feeling is your ego getting destroyed. We all have the same reaction, no human enjoys being rejected especially like that. I remember my first interview, and I legit got FizzBuzz like in the video. It was for a junior frontend role and I was like, "what the fuck is this shit". I had no idea what modulo was either. Got completely obliterated and was depressed for a good few days. Joined CodeWars a few days later and made sure it wouldn't happen again (bombing so hard I mean). That feeling you felt is your ego, you HAVE to learn how to deal with it when things go bad. Keep moving forward and be consistent.
@howardleen4182
@howardleen4182 2 жыл бұрын
This is extremely accurate. I would really value fireship to do a serious or series of technical interview videos.
@backgroundnoiselistener3599
@backgroundnoiselistener3599 2 жыл бұрын
I have given more than a few interviews and this is how it exactly goes.In my previous job the interviewer asked a question whose solution was a heatmap algorithm but I ended up working on angular there. No algo, no nothing.
@Dyanosis
@Dyanosis 2 жыл бұрын
Classic example of interview not actually assessing your ability to do the job they need you for. I hate those interviews.
@Ivcota
@Ivcota 2 жыл бұрын
@@Dyanosis I'm starting a new job and I'm so happy they tested me on React and graphql lol
@Kayzewolf
@Kayzewolf Жыл бұрын
Every tech interview I've had, haha. The performance anxiety is real, where I overthink the issue and despite talking out loud, I start to forget what math is and go into "maybe if I keep clarifying and talking about the issue and stuff that could go wrong, that will be enough"... But sometimes I get lucky and my brain reboots fast enough to actually get the problem worked on. Some people will be naturally (or prepared) more comfortable or at least comfortable enough to be good at it. This video helped me feel it's not just me at least, though iffiness of being able to pick myself back up might be a just me issue.
@edwardrhodes1518
@edwardrhodes1518 2 жыл бұрын
Fusion of programming experience, logic deduction, js capabilities, video production skills, and story-telling potencies - leading to a high-quality, edifying, gratifying, and satisfying experience. Thanks much.
@edwardrhodes1518
@edwardrhodes1518 2 жыл бұрын
@ಶ್ರೇಯಸ್ The truth told - just.
@0ne0fakind
@0ne0fakind 11 ай бұрын
lil Bro in thumbnail really was in a tough situation😂
@lord_nikon_010
@lord_nikon_010 Жыл бұрын
The sudden change from answering about Big O notation just to able to change button's colors got me. Unfortunetly, so accurate!
@justanotherhotguy
@justanotherhotguy 2 жыл бұрын
First Joma dropped a video about tech interviews some days ago, now you, life is clearly preparing me. Thanks.
@Illmare
@Illmare 2 жыл бұрын
Stay strong brother we're in this together
@justanotherhotguy
@justanotherhotguy 2 жыл бұрын
@@Illmare Thanks, kind stranger! Good luck in all future and life!
@classicwannabe7710
@classicwannabe7710 2 жыл бұрын
@@justanotherhotguy You're welcome. Remember to use hashmap BTW
@bobDotJS
@bobDotJS 2 жыл бұрын
God damn, I love meditating
@talesfromspace
@talesfromspace 2 жыл бұрын
@@bobDotJS USE A HASHMAP!!
@grimm_gen
@grimm_gen 2 жыл бұрын
I passed a technical interview 2 weeks ago! My first time doing a whiteboard interview also, and I got an offer!😁
@salsamancer
@salsamancer 2 жыл бұрын
This is great stuff. Really most technical interviews aren't just about how smart you are, it's about how you ask for help and deal with stressful deadlines.
@ns8928
@ns8928 3 сағат бұрын
The interviewer wants you to succeed. Man that gives me confidence.
@phila4574
@phila4574 2 жыл бұрын
I think at 6:49 it should just be: out = "Bazz" for the last modulo as otherwise you will get FizzBazz or BuzzBazz combinations as well :)
@KingGrio
@KingGrio 3 ай бұрын
I'm not a very smart maths guy but the video did spark some thinking for me: Every number ending in 5 is divisible by 5, and numbers not ending in 5 aren't divisible by 5. So just check if the last digit is 5 and it's divisible by 5. In C or C++ you could check that the last 3 bits of the int are 1 0 and 1. For divisibility by 3: the number is divisible by 3 if and only if the sum of its digits is divisible by 3. You could repeatedly add the digits of your number and subsequent numbers from your algorithm until you shrink it to 3, 6, 9, or some single digit number and decide if it is divisible by 3. I think this scales better because adding up the digits of your number shrinks the number rather fast, because you are dropping power of 10 coefficients and also because summing is computationally inexpensive. I'd have to check though in theory how much more effective that is compared to using the modulo operator. Of course this is a DIY optimization thing and unless you are being hired to write maths algorithms probably you shouldn't worry about this or try to show off. My guess is that 1) nowadays there are math libs that check complicated stuff efficiently for you and you should just use those unless you can compete with maths nerds and 2) I've seen instances where a mathematically more efficient algorithm is slower that some other implementation because you are running the code on a specific CPU or DSP where its registers are setup in such a way that the manufacturer's implementation of some maths will win out against some theoretically better maths algo.
@mimonbaraka5454
@mimonbaraka5454 Ай бұрын
Numbers not ending in 5 are not divisible by 5? Bruh
@ohmegatech666
@ohmegatech666 Жыл бұрын
8:07 This literally just happened to me. Got a job with an Apple contractor, and 10 minutes *after* finishing all of the onboarding, I got an email saying they rescinded the offer... again, after I already was legally their employee
@joseville
@joseville Жыл бұрын
Did you at least get a severance package?
@aCitizenJOSerased
@aCitizenJOSerased Жыл бұрын
Whoa, that's probably your best video! immense quality on all aspects.
@user-cd6vy2jg6f
@user-cd6vy2jg6f 2 жыл бұрын
What you can ALSO do is - become an interviewer. No one wants to do them because they’re tedious, not coding, and come with a lot of paperwork afterwards, but that’s why it stays broken. There aren’t many good interviewers with a desire to fix the system. I’ve made it a point to do as many as I can at my company and ask better questions. I.e. (develop a program that can update a file on N different hosts) instead of (literally any leetcode question)
@vibovitold
@vibovitold Жыл бұрын
I can confirm that some experience on the other side of the table is very eye-opening. I've noticed so many things I used to do wrong in such interviews. I did like conducting those interviews too, so "noone wants to do them" is a bit of an exaggeration.
@MortyMortyMorty
@MortyMortyMorty 2 жыл бұрын
I feel like a programming god for thinking about doing it modulo way and not the first way you solved it :D
@smikkelbeer7890
@smikkelbeer7890 2 жыл бұрын
I've barely ever used modulo but I remember it solely because of this problem lmao
@h2o848
@h2o848 3 ай бұрын
fr i bet modulo is used more than 70% of the time in some (x % n == 0) than in any other use case
@attackemartin
@attackemartin 2 жыл бұрын
Had such an interview a month ago and it crushed my confidence through the ground. I'm a frontend dev since over 10 years, but this interview had left me feeling I just started to know what HTML is, although I know my stuff. I don't think these interviews are the right thing for those jobs. Let people program a thing in x days and code review the result together
@MeshTheSnake
@MeshTheSnake 2 жыл бұрын
“I blacked out, is this heaven?” 😂😂😂😂😂
@muhammadumarwaseem
@muhammadumarwaseem 2 жыл бұрын
Man you're the best, well edited videos, no useless stuff, subtle amount of comedy. 🔥
@gholin
@gholin Ай бұрын
I'm really glad this video was made. I was recently laid off and I am now in the process of panicking that I have to do these tech interviews. I have only had to do these one other time (I tend to last around 4-7 years at a tech company), and I was miserable. I'm also a Sr. SDET, and these feel so insane to me. Give me a puzzle to solve, anything but an algorithm to code that I don't know! Having you stare at me while I code kills me anyway. Heck, someone watching while I code at work always made me goof up. Anyway, thank you for showing me even hardened engineers hate these things, and making me feel like I might be able to tackle them if I think of them simply and visually!
@Code_Machine
@Code_Machine 2 жыл бұрын
Seeing as I just landed my first proper interview and now have to do a technical interview in a few days, this could not have come at a better time for me
@jonsantos6056
@jonsantos6056 2 жыл бұрын
I feel better cos I just did fizzbuzz. I feel good cos you used an easy example and showed even experts may sometimes initially stumble on easy qns.
@MyPing0
@MyPing0 2 жыл бұрын
Now all we need is a video of how to actually GET to the technical interview and things will be golden!
@strajkz
@strajkz 2 жыл бұрын
Whenever I see these videos I feel like a massive imposter, landed a job as a developer for an Industrial Engineering system like WinCC. The interview had no coding or technical questions at all, just asked for my experience and what I studied, got the job, been employed at the same company for 10 years and they're massively satisfied with me, pays incredibly well and have been raised several times, clients love me as well so I have a massive network now. These kinds of videos make me feel like that if once this company shuts down, I'm not going to get another job in the same field.
@xhenryx14
@xhenryx14 2 жыл бұрын
I had my final interviews with Amazon last Friday, definitely felt like the video. I'm going to talk with the recruiter today to get an update on that 😱
@halfbakedproductions7887
@halfbakedproductions7887 2 жыл бұрын
I've known people who interviewed with Amazon for various technical roles. As much as *FIVE HOURS* cumulative interview time. Fuck that. I've been through the hiring process at other high profile megacorps and it was about 60-90 minutes interviewing total before I got an offer. And most of the questions I was asked were sensible ones regarding the technologies and the concepts, not banal riddles like "Jenny has four teacups and her grandfather served in Vietnam. Calculate how many cats there are in Albuquerque".
@xhenryx14
@xhenryx14 2 жыл бұрын
Yes, it was a total of five hours just interviewing for me, much more studying for that and they said no today 😕
@stormy1514
@stormy1514 2 жыл бұрын
@@xhenryx14 let us know
@kalesantosh
@kalesantosh 2 жыл бұрын
@@xhenryx14 There is always next try!
@xhenryx14
@xhenryx14 2 жыл бұрын
@@kalesantosh true, now the period to reapply at Amazon is after 2 years
@rb1471
@rb1471 Жыл бұрын
If you have a fixed range, your efficiency has endless potential: i = 1 while True: print(i, i+1, "Fizz", i+3, "Buzz", sep=" ") print("Fizz", i+6, i+7, "Fizz", "Buzz", sep=" ") if i == 90: break print(i+10, "Fizz", i+12, i+13, "FizzBuzz", sep=" ") i += 15
@benoitchouinard4240
@benoitchouinard4240 2 жыл бұрын
Almost everytime I've done an interview I'm nervous going in but then you start talking with the employer and you see that they are pretty chill (all of the ones i've met anyways) and almost all that nervousness goes away.
@overlord2066
@overlord2066 2 жыл бұрын
You know the moment I herd the problem this immediately came to my mind: def check_3(n): if n%3 == 0: return "Fizz" else: return "" def check_5(n): if n%5 == 0: return "Buzz" else: return "" for i in range(1, 101): if check_3(i) == "" and check_5(i) == "": print(i) else: print(check_3(i) + check_5(i)) It was soo simple ;) =)
@aaaaanh
@aaaaanh 2 жыл бұрын
the collab I never knew I needed
@Gumitto
@Gumitto 11 ай бұрын
The only real coding interview mockup on youtube.
@sage_gamers
@sage_gamers 2 жыл бұрын
Please make video on your journey as a developer and the ups-downs you faced. btw love watching your video and it inspires a lot 👍🏻
@iamboomtuber7467
@iamboomtuber7467 10 ай бұрын
1:35 well it's simple for x in range(1,100+1): if x%3==0 and x%5==0: print("FireBuzz") elif x%5==0: print("Buzz") elif x%3==0: print("Fizz") 6:14 simple again for x in range(1,100+1): if x%3==0 and x%5==0: print("FireBuzz") elif x%5==0: print("Buzz") elif x%3==0: print("Fizz") elif x%7==0: print("Bazz")
@udemyaccount4082
@udemyaccount4082 2 жыл бұрын
IT'S TAKEN ME ABOUT 1.5 YEARS OF WATCHING FIRESHIP VIDEOS TO REALLY VALUE THEM. THEY ARE A FUNNY WAY OF PRESENTING REALLY COMPLICATED COMPUTER SCIENCE THINGS AND I AM VERY FAVOR OF THAT. THANK YOU FIRESHIP YOU HELP MY LIFE SOOOOOOOO MUCH THANK YOU FOR BELIEVING IN BUDDHA
@cybebe6679
@cybebe6679 2 жыл бұрын
I love your videos man I promise when I get hired ill donate my 1st salary to you for you to create more videos like this I Love you man!
@anch072
@anch072 2 жыл бұрын
this happened blaaazingly fast! Great to see the two of my favorite creators together!
@arsnakehert
@arsnakehert 2 жыл бұрын
I started streaming myself coding on Twitch, and I think that helps me program while I feel like I'm being judged, even when there's nobody watching lol It also helps me talk about what I'm doing, it's like I'm rubber duck debugging without a duck, but with real random people...who may not even be there, but I like to pretend that the "1 viewer" that shows up in my phone isn't really myself
@l.halawani
@l.halawani 2 жыл бұрын
Man you have such a good sense of humor! And you do the internet memes implementation like boss! One of the best out there.
2 жыл бұрын
The tricky that always works for me is to think I'm solving a problem with friends. The pressure really goes away, specially if you find the space to throw some bad jokes and laughs.
@katjafed
@katjafed Жыл бұрын
It's a great tip because I used it on my first screening interview and it works! Tomorrow I have a tech interview and hopefully it helps me again.
@ewilso22
@ewilso22 Жыл бұрын
@@katjafed How'd it go?
@katjafed
@katjafed Жыл бұрын
@@ewilso22 It was OK but they chose another candidate
@usama4050
@usama4050 Ай бұрын
for i in range(1,101): if i%3==0 and i%5==0: print("Fizz Buzz") elif i%3==0: print("Fizz") elif i%5==0: print("Buzz") else: print(i)
@omarmahmood4209
@omarmahmood4209 2 жыл бұрын
A video on ATS-friendly resumes would be a great addition!
@DankMemes-xq2xm
@DankMemes-xq2xm 10 ай бұрын
At this point I just looked up the standard AST friendly template and copied it completely. RIP to the work I spent making a pretty resume last year
@1awesome180
@1awesome180 Жыл бұрын
Question: My solution works with only two if statements, would this be optimal? for (int i = 1; i
@bob_mikhail
@bob_mikhail 7 ай бұрын
Thinking on the fly, not using Google or chatgpt, jumping straight to solution/implementation, just what are those live code interviews checking in my skills? This is exactly the opposite of how I work daily
@MEZOMEZO2011
@MEZOMEZO2011 3 ай бұрын
Tbf, you can ask the interviewer. If he doesn't answer nor give hints, just relax as that is a place you probably don't want to be in.
@kamil8263
@kamil8263 Ай бұрын
As mentioned in the video, sometimes you just have to play the game
@LaynaStambaugh
@LaynaStambaugh Ай бұрын
The stop caring part is actually how I got my driver's license. I thought I failed the maneuvering bit, so I just didn't care anymore when we went through the normal driving part. Turns out I did just well enough to pass the test!!
@raymond-andrade
@raymond-andrade Жыл бұрын
Now if I ever feel nervous during an interview, I will just remember Nickelback's wise words @ 7:15 to "Look at this GRAPH", and never forget Big-O
@ahmedaq5337
@ahmedaq5337 7 ай бұрын
he is nicer than all the interviewers i had, most don't give a crap and reject you because you don't support their favorite team
@azrafal
@azrafal 2 жыл бұрын
It's wonderful to see you two together. Big fan of both ♥️
@thekingofcats27
@thekingofcats27 Жыл бұрын
For fizzbuzz all you would need is a code that checks 1 through 100 where If divisible by 3( If divisible by 5(write fizzbuzz) Else (write fizz) ) Else( If divisible by 5( write buzz) Else(write the number)
@jgod722
@jgod722 2 жыл бұрын
Thanks Jeff for the amazing tips! Your content is always dead on. Keep 'em coming!
@josearmas1511
@josearmas1511 2 жыл бұрын
as someone who is changing careers from social sciences to software developer I can't express on how many levels this video made me feel better
@KarlDag
@KarlDag 2 жыл бұрын
How has career changed gone? I’m in healthcare but studying for computer science right now… scary stuff
@banditosdoritos
@banditosdoritos 2 жыл бұрын
My two favorite KZbin programmers in one single video!? Christmas came early this yeah, damn.
@carl5192
@carl5192 7 ай бұрын
Lol I had a coding interview for a 4 day work week dream job - didn't expect to pass the technical but I did; understanding design patterns and architecture gets you some brownie points. Got the job only to find out a week later that fraud had been discovered in the sales team and they had to withdraw the offer - the company went bust. As you can imagine this was devastating. Especially given they wanted to train me to become a technical architect. ...Life sometimes really sucks. 😔
@pesterenan
@pesterenan 2 жыл бұрын
Wow, I legit thought about the modulo operator first instead of the type conversion trick! That means I would be just a LITTLE less anxious in the interview. Nice!
@creamy6680
@creamy6680 2 жыл бұрын
same here!! feeling a little less like an impostor lol !
@dadqqader
@dadqqader 2 жыл бұрын
If you get clever right away. They might think you're smart enough for the bigger step. And eventually will put you in a corner.
@danyalimran2591
@danyalimran2591 Жыл бұрын
I got a technical tomorrow. Watching this eased my nerves. 10/10 video
@gldplatinium
@gldplatinium Жыл бұрын
I have a question, is it me, or when you do the condition, both being correct (number divisible by 3 and 5) shouldn't be console.log('Fizzbuzz');?
@RuiSilva450
@RuiSilva450 Жыл бұрын
Yep, that is wrong and it's odd that he kept it like this
@ChaitanyaBhardwaj89
@ChaitanyaBhardwaj89 Жыл бұрын
Never have I ever witnessed such an easy problem in tech interviews
@rishabhmittal1240
@rishabhmittal1240 Жыл бұрын
Great video! Quick question: At 6:06, shouldn't the first if statement be logging "FizzBuzz" instead of the number i?
@daymenpollet4202
@daymenpollet4202 Жыл бұрын
yea, and also, he should write && !== 5 after the mod3 aswell as write && !== 3 after mod 5 in the 2 first else if statements, otherwise it just be writing fizzbuzz fizz buzz when a number is dividable by 5 and 3
@joseville
@joseville Жыл бұрын
​@@daymenpollet4202the extra != checks are not necessary because he's using "else if", not "if".
@womz8203
@womz8203 10 ай бұрын
@@daymenpollet4202 That's not correct/necessary. Technically it won't hurt, but it's redundant. The else-if will only be entered if the number isn't divisible by 3 AND 5. You don't have to check again whether the number is not divisible as the combination case has already been checked against. If both aren't divisible and you enter an else-if to check whether the number is divisible by 3 for example then it's already known at that point that the number can't also be divisible by 5 otherwise the initial if statement would have been true. Also as soon as one if/else-if evaluates to true no other else-if or else will be evaluated, so again no need to check for the inverse. This is easily verifiable. Just run it and see.
@samyogdhital
@samyogdhital 2 жыл бұрын
5:30 C developer with 50 years of experience 😄😄😂😂
@Xnoob666
@Xnoob666 2 жыл бұрын
my solution to the problem : int t = 1 print "FizzBuzz" + i i = i + 1 loop 100 because you can devide any number by 3 and 5, it just makes integers or not, but it wasnt the question
@WolfPhoenix0
@WolfPhoenix0 2 жыл бұрын
I didn't think you'd include the hiring freeze part at the end. Fireship always makes the funniest tech videos! The lesson here is to practice your tech interview skills only AFTER you've confirmed that the company isn't in a hiring freeze. 😂
@the_crypter
@the_crypter 2 жыл бұрын
Yea, I gave and cleared the Amazon Assessment a few months ago, only to wait 3 months for an interview, only to find out they might have froze hiring's for this year. 🤡 Always Check people.
@jjhassy
@jjhassy 3 ай бұрын
I like the Primeagen cutaways that play out like a weird FMV choose your own adventure game dialogue
@ashrasmun1
@ashrasmun1 2 жыл бұрын
I totally adore how informative and hilarious at the same time both of you are. Thank you!
@IwrsTheKing007
@IwrsTheKing007 Жыл бұрын
1:31 for count in range(1,101,1): if count % 3 == 0 and count % 5 == 0: print("FizzBuzz") elif count % 3 == 0: print("Fizz") elif count % 5 == 0: print("Buzz") else: print(count)
@dhruvmitna8465
@dhruvmitna8465 Жыл бұрын
You could change the first condition to be count % 15 == 0
@GbpsGbps-vn3jy
@GbpsGbps-vn3jy 2 жыл бұрын
I'm always thrilled to say that all natural numbers between 1 and 100 are divisible by 3 and 5 because no-one at the interview said that we must exclude fractional and decimal numbers :D
@NeptuneFan12
@NeptuneFan12 Жыл бұрын
Natural numbers do not include fractions or decimals. Rational or real numbers do.
@GbpsGbps-vn3jy
@GbpsGbps-vn3jy Жыл бұрын
@@NeptuneFan12 Whole numbers. If we're going to call numbers 'natural' then always remember that the nature has fractions in it
@vibovitold
@vibovitold Жыл бұрын
​​@@GbpsGbps-vn3jythey've been called "natural" in mathematics for a long time now. they're not called "natural" because they describe quantities that occur in nature, but because they are used for "naturally" counting (or ordering) discrete objects. whole numbers can be negative, natural numbers - no (because -1 is not a number that would come up in simple counting)
@web3js
@web3js 2 жыл бұрын
It’s only getting better. I wouldn’t even know all the good stuff that exists in js if I didn’t watch your channel
@DavidM_
@DavidM_ 2 жыл бұрын
6:48 i am not sure if this is correct solution. Based on the question and logic used in previous solutions for 21 it should print out 'Bazz' but we get 'FizzBazz' here.
@jimihenrik11
@jimihenrik11 8 ай бұрын
I didn't study CS, and in germany that makes most interviewers very sceptical. No matter that I have worked as a full time dev for almost 5 years and that I have a bachelors and masters degree in math. So the coding interview is usually my oportunity to shine. One of the things I like to to is strict TDD. While I type the test cases I talk about the requirements and ask further questions if needed.
@WilbertVerayin
@WilbertVerayin 2 жыл бұрын
7:20 I bursted on "look at this graph" Hahahaa
@rashmiranjansahu8271
@rashmiranjansahu8271 Жыл бұрын
Some of those tips are valid for every interview out there not just tech. So good that I wrote them down.
@vintprox
@vintprox 2 жыл бұрын
1:44 It's a peak comedy when you witness Fireship depicting the anxiety from interview memories with memes and his usually calm voice getting cracked XDDD
@anumcodes
@anumcodes 3 ай бұрын
What a wonderful breakdown! The end had me laughing 😂
@geekwithabs
@geekwithabs Жыл бұрын
The thumbnail is brilliant 😂
@VANSHPOONIAJEE
@VANSHPOONIAJEE Жыл бұрын
🤖
@AricRastley
@AricRastley 11 ай бұрын
I got asked a really complex question during an interview and I literally just pulled out my phone and googled it, I got the job
@luixim11
@luixim11 2 жыл бұрын
Funny thing how most of the interviews I've passed and actually got the job, have nothing to do with the actual job
@askeladden450
@askeladden450 2 жыл бұрын
should they really be? they are designed to test your general problem solving skills, not stuff you can just look up on the internet.
@luixim11
@luixim11 2 жыл бұрын
@@askeladden450 well you don't ask a lawyer if he can build a house when hiring him, would you?
@BG-si9gk
@BG-si9gk 2 жыл бұрын
@@askeladden450 um... yes??
@askeladden450
@askeladden450 2 жыл бұрын
@@luixim11 well they also don't ask us physics problems in programming interviews, do they? they test a skill that's useful on the job as well as something that's a result of years of practice. why would they ask stuff like how to import an svg in react when you can easily look that up on the internet?
@luixim11
@luixim11 2 жыл бұрын
@@askeladden450 gotchu, I'm writing notes for when I conduct the interviews "nothing work related" is my number 1 now
@brucesmith3740
@brucesmith3740 Жыл бұрын
So true. This exactly what I have been going through. When are companies going to stop this???
@umno9830
@umno9830 2 жыл бұрын
damn 5 seconds in he's already spittin facts
@ArnBry
@ArnBry 5 күн бұрын
last interview i opened with "this is my first techical interview, i apologize in advance, but i'll keep monologing like this during the interview to try to stay open on how i think during the interview ahead. and to calm myself down. i ended up not doing any code, talking through how i'd rather approach the problems, how i'd use external references (googling, stackoverflow ai, etc) and it seems my interviewers liked what they saw
@PingguClover
@PingguClover Жыл бұрын
I just had a technical interview for a power electronics company. Let me tell you, it was the most gut wrenching and cold sweat inducing 3 hrs of my life.
@alexpresso38
@alexpresso38 Жыл бұрын
Felt. I did a Google internship tech interview a couple weeks ago now. Still waiting to hear back. That 2nd interviewer was out to get me I swear. Hopefully you land the job :)
@vibovitold
@vibovitold Жыл бұрын
3 hours is pretty long for a tech interview. as a programmer i can't remember ever going for longer than 2 hours (assuming we're talking about a single sitdown)
@imakethesites3048
@imakethesites3048 Жыл бұрын
Funny, educational, AND up to date! What more does a youtube video need? Pay attention, competitors!
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,5 МЛН
How To Pass Technical Interviews When You Suck At LeetCode
14:32
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 44 МЛН
10 weird algorithms
9:06
Fireship
Рет қаралды 1,3 МЛН
Most Tech Interview Prep is GARBAGE. (From a Principal Engineer at Amazon)
12:57
Mock Google Coding Interview with a Meta Intern
47:04
NeetCode
Рет қаралды 1,1 МЛН
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 735 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,8 МЛН
7 Things No Programmer Ever Wants to Hear
5:16
Fireship
Рет қаралды 1,9 МЛН
I ask this question to every Backend Engineer I interview
11:44
Hussein Nasser
Рет қаралды 390 М.
How to Land a 100K/yr Tech Job - 10 Strategies
11:17
Fireship
Рет қаралды 1,3 МЛН
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,2 МЛН
how to never write bug
7:20
Fireship
Рет қаралды 902 М.