Fireship · @fireship

How to NOT Fail a Technical Interview

Uploaded August 1, 2022 · Length 8:26

How to NOT Fail a Technical Interview

Summary

How to solve the classic FizzBuzz problem under pressure in a technical interview, with tips on problem-solving, communication, and coding in JavaScript.

  • fizzbuzz
  • technical interview
  • problem solving
  • javascript
  • coding interview

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    the single worst moment of my life was

  2. 0:01

    the moment i was born i wish that were

  3. 0:03

    true but as a software engineer i've

  4. 0:05

    experienced far worse things during

  5. 0:06

    technical interviews if you're lucky

  6. 0:08

    enough to survive tutorial hell before

  7. 0:09

    the age of 25 and find a way to impress

  8. 0:11

    the algorithms that automatically read

  9. 0:13

    your resume you get dropped into a

  10. 0:14

    high-stakes life or death game with a

  11. 0:16

    six-figure salary on one side and orbeez

  12. 0:18

    on the other you can tell yourself the

  13. 0:20

    interview process is broken and maybe it

  14. 0:22

    is but like most things in life you

  15. 0:23

    can't control it and just have to play

  16. 0:25

    the game in today's video you will

  17. 0:27

    experience the psychological

  18. 0:28

    rollercoaster ride that is the technical

  19. 0:30

    interview along the way you'll learn the

  20. 0:31

    secrets to high pressure problem solving

  21. 0:33

    on the spot and how to impress the

  22. 0:35

    interviewer even if you totally suck at

  23. 0:37

    writing code to make this

  24. 0:38

    hyper-realistic i've invited a special

  25. 0:39

    guest who's conducted hundreds of

  26. 0:41

    interviews in the real world let the

  27. 0:42

    story begin

  28. 0:45

    it's been a long difficult year of

  29. 0:47

    hashtag learn to code i've turned down

  30. 0:49

    dates with beautiful women stopped doing

  31. 0:50

    flat earth research and even cancelled

  32. 0:52

    netflix all for the opportunity to stare

  33. 0:54

    at a computer screen for the rest of my

  34. 0:56

    life thanks to this awesome video i

  35. 0:57

    watched on youtube i finally landed an

  36. 0:59

    interview with big scary tech

  37. 1:00

    corporation i've got dozens of leak code

  38. 1:02

    questions and a bunch of half finished

  39. 1:04

    udemy courses under my belt nothing can

  40. 1:06

    stand in my way now i'm about to jump on

  41. 1:07

    this call and change my life forever

  42. 1:10

    hello mr fireship my name is the primes

  43. 1:12

    in welcome to hell welcome to hell

  44. 1:15

    i'm just kidding i'll be conducting your

  45. 1:17

    interview today you know let's just get

  46. 1:18

    straight into it i'm going to ask you

  47. 1:20

    actually a classic question it's called

  48. 1:21

    fizzbuzz i want you to print out numbers

  49. 1:23

    1 through 100 but if it's divisible by 3

  50. 1:26

    i want you to print out fizz if a number

  51. 1:28

    is divisible by 5 please print out buzz

  52. 1:31

    but if it's divisible by both 3 and 5

  53. 1:33

    please print out fizz and buzz fizzbuzz

  54. 1:35

    how cliche is that i mean i just built

  55. 1:37

    my own compiler in javascript last night

  56. 1:39

    this is too easy

  57. 1:44

    wait a minute i have no idea what i'm

  58. 1:46

    doing here hash map link list mom mom

  59. 1:49

    why am i so dumb wait directed graph i i

  60. 1:52

    can't do it i'm just going to tell them

  61. 1:53

    i can't do it binary tree i'm an

  62. 1:55

    imposter i'm blacking out a few moments

  63. 1:58

    later

  64. 1:59

    uh mr fireship before we write any code