REAL Front End Interview Questions - Whiteboard

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 47

  • @PeterElbaum
    @PeterElbaum  4 ปีที่แล้ว +5

    Are these questions true to your experience? Let me know if you found them helpful and what you'd like to see next time!

  • @lastspoil5547
    @lastspoil5547 10 หลายเดือนก่อน +4

    Where do I look up and study these questions.

  • @xinli2143
    @xinli2143 3 ปีที่แล้ว +2

    function shuffle(array){
    for(let i=0;i

  • @furzaa
    @furzaa 4 ปีที่แล้ว +3

    Front End Interview Questions. Thank you for content

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว

      Absolutely mate. I appreciate the encouragement!

    • @salladiallo9766
      @salladiallo9766 3 ปีที่แล้ว

      @@PeterElbaum what do you think of coderbyte ? Is it a good source to prepare for the interview ? I would also like to add the book

  • @leonardodeslf
    @leonardodeslf 3 ปีที่แล้ว

    There is a little detail that makes a big change for the very first answer.
    Even if we get rid of the IIFE stuff and leave the "normal" function declaration, `privateVariable` will still throw a ReferenceError, as a var gets hoisted and encapsulated inside function/global scope. It works within an if scope for example, but not from a function one.
    Anyways, thank you for sharing!

    • @PeterElbaum
      @PeterElbaum  3 ปีที่แล้ว +1

      Great callout! Thanks for watching :)

  • @DimitriNakos
    @DimitriNakos 4 ปีที่แล้ว +1

    Thanks for the information! I'm in Charlotte and just starting a bootcamp this month. :)

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว

      You're very welcome! Good luck with the bootcamp!

  • @arcosd63
    @arcosd63 2 ปีที่แล้ว

    Thanks! This video was excellent!

    • @PeterElbaum
      @PeterElbaum  2 ปีที่แล้ว

      Glad it was helpful! :)

  • @gabrielfono844
    @gabrielfono844 4 ปีที่แล้ว +4

    thanks so much
    I am self taught and I would have an interview at amazon soon.
    I dont know which datastructure and algorithms I need to focus on
    let me know what you think please
    thanks

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว

      Hi there! Thanks for the encouragement. Like I said in the video, I don’t consider myself an expert on the algorithms/data structures type interviews that you find at the FAANG companies. That said, algoexpert.io seems to be a really good resource, as well as the book Cracking the Coding Interview. I hope that helps!

  • @CamdynRasque
    @CamdynRasque 2 ปีที่แล้ว +1

    In regards to the HTTP request, I believe the question is asking about the 3 parts of the request itself, not the 3 phases. Every HTTP request is broken up into 3 parts: Request / Response Line, Headers, and Message Body

  • @pavelluzanov3157
    @pavelluzanov3157 4 ปีที่แล้ว +1

    Hey, thanks for the video
    at flatten part imo worth mention 2 thing as a bonus to the answer
    1) es6+ spread syntax `return [...acc, ...Array.isArray(toFlatten) ? flatten(toFlatten) : [toFlatten]]` maybe not really any better that .concat but still a +
    2) ES2019 introduce `.flat` so one-liner cheat is array.flat(Infinity) for any level deep

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว +2

      Hey Pavel - great points. For #1, the spread syntax is probably a bit cleaner. Totally valid way of doing it. For the other, I actually wasn't aware of the .flat() method. That's great to know. Also doesn't hurt to be able to implement by hand :)
      Thanks for reaching out!

    • @pavelluzanov3157
      @pavelluzanov3157 4 ปีที่แล้ว +1

      @@PeterElbaum thanks, I didn't meant to neglect implementing that method by hand, quite the opposite, just as a side comment afterwards to show that candidate is well familiar with new ES specs

  • @drewbird87
    @drewbird87 3 ปีที่แล้ว +1

    Hey Peter! Stumbled on your interview videos because I'm doing a technical interview tomorrow for a job in Durham! #liked #subscribed. Thank you for your content.

    • @PeterElbaum
      @PeterElbaum  3 ปีที่แล้ว

      Nice! It's cool to know I have some local subscribers :)
      Good luck in the interview! 🎉

  • @amishagadhia3996
    @amishagadhia3996 4 ปีที่แล้ว +1

    Thank you very much for sharing this, I really appreciate you sharing interview questions. I have one question for you. I have an interview for front end developer position, and the company mentioned that it will be a web developer test that includes multiple-choice questions and open-ended questions how should I prepare for that any advice or suggestions?

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว +2

      Hi there! Thanks for your question.
      Without knowing any more about the role, stack, etc., I would say to focus on the basics (HTML, CSS, JavaScript, and whatever the server side language is). I've never heard of a programming interview that contained multiple choice answers, so I'm at a bit of a loss. I'd say focus on the fundamentals and hopefully the rest will follow. 30 Seconds of Interviews (linked in the description) would be a good resource for this, I think.

    • @amishagadhia3996
      @amishagadhia3996 4 ปีที่แล้ว

      Peter Elbaum Thank you very much. The job description basically mentioned all the front end technology like HTML5, CSS, JavaScript, Sass, bootstrap and Drupal CMS. So yes as you said I will prepare fundamentals. Once again thank you!

  • @AjayKumar-id7mb
    @AjayKumar-id7mb 3 ปีที่แล้ว

    Thanks

  • @sundushussain4952
    @sundushussain4952 2 ปีที่แล้ว

    is this the only interview round u had and u got selected?

  • @AjayKumar-id7mb
    @AjayKumar-id7mb 3 ปีที่แล้ว

    Do we have to solve the problem in JavaScript or we can use java or cpp?
    For DSA ?

    • @PeterElbaum
      @PeterElbaum  3 ปีที่แล้ว

      These are just examples, and I used JavaScript because that's what I know :)
      Feel free to practice in your language of choice!

  • @rahalmehdiabdelaziz8121
    @rahalmehdiabdelaziz8121 ปีที่แล้ว

    Thanks a lot for the video, just a note the music is troubling the voice

  • @МироваякухнясЕленой
    @МироваякухнясЕленой 4 ปีที่แล้ว

    These questions for entry level position?

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว

      I would say the majority are entry level, but the last two are a bit higher level.

  • @cyberprompt
    @cyberprompt 3 ปีที่แล้ว +1

    IIFE? i call it a self invoking function so i'd be like wtf are you talking about.

    • @PeterElbaum
      @PeterElbaum  3 ปีที่แล้ว

      Hah! There's always room for a clarifying question :)

  • @03greedo29
    @03greedo29 2 ปีที่แล้ว

    I would fucking smash this interview to pieces lol

    • @keifer7813
      @keifer7813 2 ปีที่แล้ว

      Alright tough guy

    • @03greedo29
      @03greedo29 2 ปีที่แล้ว

      @@keifer7813 ? Meaning that I would ace this test. Not physically harm it ? LOL

    • @03greedo29
      @03greedo29 2 ปีที่แล้ว

      @@keifer7813 Pleasee explain to the audience how one goes about physically harming a React interview test. Numb nuts🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

  • @piotrn2491
    @piotrn2491 4 ปีที่แล้ว +1

    Nice video but a bit hard to listen with this background music

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว +1

      Thanks for your feedback! Do you mean that the choice of music is distracting from what I'm saying, or that the level is too high relative to my voice?

    • @piotrn2491
      @piotrn2491 4 ปีที่แล้ว

      @@PeterElbaum Hi Peter, I would say that the music is a bit distracting from what you're trying to explain. Maybe it's just me :) However I enjoy your videos, they are really helpful!

    • @PeterElbaum
      @PeterElbaum  4 ปีที่แล้ว +1

      Okay perfect - thanks for clarifying. I’ll take that into consideration for future videos. Thanks for your encouragement as well!

  • @ashinshenoy84
    @ashinshenoy84 3 ปีที่แล้ว

    Actually your flatten array doesnt work anymore
    It should actually be this below to make it work ?
    function flattenArray(arr){
    return arr.reduce((accumulator,currentVal)=>{
    return accumulator.concat(currentVal)
    },[])
    }
    console.log(flattenArray([[1],[2,3,7],[4]]))

    • @PeterElbaum
      @PeterElbaum  3 ปีที่แล้ว

      Thanks for the heads up, I'll take a look into this