Frontend Interview Experience (Cars24) - Javascript and React JS Interview Questions

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 586

  • @RoadsideCoder
    @RoadsideCoder  5 місяців тому

    ➡ My Frontend Interview Preparation Course - roadsidecoder.com/course-details
    ⭐ Learn to code with Scrimba - v2.scrimba.com/?via=roadsidecoder

  • @iitnakanpur..
    @iitnakanpur.. 2 роки тому +69

    Man these type of content deserves more than millions subs. You will never find this kind of high quality genuine content on youtube

  • @dhwajsharma
    @dhwajsharma 2 роки тому +213

    Please continue this front-end interview series.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +16

      I will for sure!

    • @ompandey4595
      @ompandey4595 2 роки тому +2

      @@RoadsideCoder brother may I get ur any cont id

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +3

      @@ompandey4595 content me on instagram @RoadsideCoder

    • @AasifKhan-xt6os
      @AasifKhan-xt6os Рік тому +1

      @@RoadsideCoder hggh

    • @iccon7665
      @iccon7665 Рік тому +1

      I assume this interview was not for a freshers

  • @AdityaSharan811
    @AdityaSharan811 2 роки тому +46

    Even i gave the cars24 interview i was asked the same ques in react round sub folder structure to implement it.
    That recursion thing didn't click in my mind.
    Thanks for the video
    Learned a lot 👍

    • @anirbandas12
      @anirbandas12 2 роки тому +3

      Even he might not have been able to answer, don't believe everything u see and hear ... practice leetcode ..

    • @awaneetaim4729
      @awaneetaim4729 2 роки тому +4

      @@anirbandas12 Bhai ki swag . Aisa comment padh kr literally onfidence aata hai .

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Lol

    • @1LifeStudio
      @1LifeStudio 2 роки тому

      Did you give the solution?

  • @varunknair1231
    @varunknair1231 2 роки тому +56

    Your explanations are so spot on! I've been asking similar questions when I conduct interviews for technical rounds and if anyone of them just goes through your video for interview prep would be more than enough to atleast have the basics of js down. You should definitely continue making such videos.
    Oh and thanks for the jsv9000 link never knew about it, im really glad UA-cam's algorithm suggested your content! Subscribed!!

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +3

      Thanks for appreciation ❤️

    • @meitoli
      @meitoli 2 роки тому +2

      @@RoadsideCoder you helped this guy to put "hell on earth" interview questions dude. I just hope all devs could watch all the crazy stuff you put on this video LOL

    • @manifestcode2228
      @manifestcode2228 8 місяців тому

      bro are these question for freshers or experienced

  • @mdridoy-ef2pw
    @mdridoy-ef2pw 2 роки тому +10

    I always thought caching was something very complicated and never tried it.
    But it was as simple as storing data in an object.
    Also, never thought about using recursion in a react component itself.
    I learnt something new.
    Thank you so much.
    Please continue the frontend interview series.

  • @AshishKumar-xg8dm
    @AshishKumar-xg8dm 2 роки тому +27

    It was really one of the best interview experience i am ever seen.. You have explained each and every in detail..
    Please come up with more interview experience may be of your friend or colleague ..
    One doubt -- May be we don't need isFolder variable.. because every folder object has items as one property so we can use that ..like -- if(explorer.items) {do something} else {do other} ..

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Thank you and yes, your approach is also correct.

    • @gshan994
      @gshan994 2 роки тому

      @@RoadsideCoder wt if it's an empty folder

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 роки тому

      Bro , is there any such tutorial on real world questions on the yt ? If there can you suggest

    • @gshan994
      @gshan994 2 роки тому

      @@PIYUSH-lz1zq wt do u mean by real world questions.

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 роки тому

      Like he did that folder structure , ... these types of questions

  • @rohit3221
    @rohit3221 2 роки тому +2

    Hey. Thanks for sharing. This is quite informative and helpful.
    Although for the Q:5 - Infinte currying, there's a bug in the code.
    If we pass 0 as a number - curry(5)(0)(2)(); - The code will break.
    Since 0 is falsy in nature. it's gonna return the sum instead of the inner function. So when we call the returned value with param 2, we'll get an exception.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Ah Thanks a lot for sharing dude!

    • @kumaramresh7905
      @kumaramresh7905 2 роки тому

      lol he was just giving us an idea on how to achive this

  • @gmjitendra
    @gmjitendra 2 роки тому +2

    Thank you for sharing Javascript Visualizer 9000 (JSV9000) tool which is really helpful to understand JS engine workflow. Thanks once again!

  • @gshan994
    @gshan994 2 роки тому +6

    Congrats on new job role brother.
    And at 11:30 the concept of if stmt writing in such a way is called "Guard Clauses"which is a best practice. So its good that you used it.

  • @soujigor
    @soujigor 2 роки тому +2

    i've decided to change career to frontend developing and yours videos helps a lot. Keep the nice work and congratulations on the job!

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +2

      Awesome man. Wish you a lot of success.

  • @srinivasnahak3473
    @srinivasnahak3473 9 місяців тому +1

    Thank you so much for posting this video it gave so many great questions that you don't come across in general, It'll not just help us in the interview but also in real use cases. Thank you so much man!!

  • @AshrafulIslam-pm2mw
    @AshrafulIslam-pm2mw 2 роки тому +4

    The quality of your content is like the gold standard. Thanks a lot to share such amazing content! Would love to see the continuation in the future. Already subscribed for that as well! 😉

  • @nataraj1929
    @nataraj1929 2 роки тому +3

    Please start video series on reactjs and JavaScript, your way of teaching is awesome

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +2

      Thanks, I will! Meanwhile you can check other react tutorials on my channel.

  • @abhish7k
    @abhish7k 2 роки тому +6

    Congratulations Sir !!!
    And Please make a dedicated video on cold mailing
    Also continue this interview series

  • @yogeshmundhra663
    @yogeshmundhra663 2 роки тому +4

    Bro you are genuinely doing a great job, please also make a new series which should be on how to integrate restful api in react js .

  • @monasharma3968
    @monasharma3968 6 місяців тому

    This type of content deserves more than millions subscribers. Great content. Pls, make more.

  • @kiva1823
    @kiva1823 2 роки тому +1

    One of the best videos on frontend interview experiences so far! Thanks

  • @explore-learn-share6937
    @explore-learn-share6937 2 роки тому +1

    Very well explained. Got a very clear idea about the problem statement. Thank you for sharing these useful information here

  • @yashguptta
    @yashguptta 2 роки тому +1

    Bhai please make more frontend video interview and its good that you are explaining the approach as well. Keep doing. Have subscribed.

  • @HariPrasad-nh9bz
    @HariPrasad-nh9bz 2 роки тому +2

    Can you please make a video on cold emailing

  • @shashanksshetty9870
    @shashanksshetty9870 2 роки тому +3

    Thanks for sharing your experience. I liked how you walkthrough the solution. I have one small suggestion/ask. It would be great if vscode and browser were split screened. So that we can see both of them together.
    I too had faced similar questions in past from various companies.

  • @christian_vega
    @christian_vega 2 роки тому

    adding the optional context will not help in the memoized example if you want to pass in an existing cache because you're checking the cache that was passed by closure, not the cache that's being passed by "this" (eg. the context). you can verify this by changing fn.call(...) to simply fn(...args) - the cache still works.

  • @RahulChauhan-ny7zs
    @RahulChauhan-ny7zs 2 роки тому +2

    Can we just appreciate cars24 for not asking unnecessary stuff/questions in interview unlike others compines do ..

  • @mdalimran7926
    @mdalimran7926 2 роки тому +3

    Please create a full video about cold email. So that we can get a clear picture of that.

  • @PIYUSH-lz1zq
    @PIYUSH-lz1zq 2 роки тому +3

    Bhaiya, recursion questions was lit ! You made it look so easy ! Can you take more such que frequently ...like n-level comments.... ❤🙏

  • @mr.saurabh9715
    @mr.saurabh9715 2 роки тому +1

    yes please make a video on how to find people and apply and process ....please no one in youtube clear thus things.... please!!!!!!!!!

  • @adityaTheExplore
    @adityaTheExplore Рік тому

    By using this approach able to solve my multiple nested menu problem.❤

  • @NikhileshRavulapelli
    @NikhileshRavulapelli 5 місяців тому +1

    At 5:27 we got an empty string because there is a name property in window object and its value is empty string(''). Hope this clarifies the behaviour👍

    • @NikhileshRavulapelli
      @NikhileshRavulapelli 5 місяців тому +1

      To double check above answer instead of using the property as name make it firstname then console log this.firstname then u will get undefiend since firstname is not a property of window object

  • @abhishekjha1950
    @abhishekjha1950 2 роки тому +2

    Yes please make How to get reach recruiter through Cold Emailing.

  • @Luffy-gw8ec
    @Luffy-gw8ec Рік тому

    just finished making my first track! thanks bro for all the help with learning soft soft. much love

  • @LeonardoPriori
    @LeonardoPriori 2 роки тому

    Question 6 has some issue too. You can see that if you run:
    const x = calc.add(10).multiply(5);
    const x2 = x.multiply(3);
    console.log( x2.total === x.total );
    In some context the way you did it could be considered right, but in general this kind of logic tends to cause unexpected behavior. You should try to avoid so much state and be more functional in your code.

  • @adityatripathi1904
    @adityatripathi1904 2 роки тому +1

    Instead of making the folder hierarchy nested in json, you can try index approach which a lot of NoSql DBs use. It has O(1) access time and a flat structure unlike the nesting. Great video keep it up!

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Hey, Thanks for sharing this info!

    • @aniruddhpandya5999
      @aniruddhpandya5999 2 роки тому

      By Index approach, do you mean you'll use the two json objects, one being the index, the other for data and then embed the data ids in the index?

    • @adityatripathi1904
      @adityatripathi1904 2 роки тому

      @@aniruddhpandya5999 I was implying to use a map or a linear JSON with key as “level” of folder structure and value being all the files/folders in it. For eg.
      {
      0: [Folder1, Folder2], //root
      1: [{fileName: [folderItsPresentInFrom0…]
      }
      Yes the approach is bit unpolished but should work and will have advantages over nested approach in rendering operations and loading operations.
      For eg. we can totally not load content inside folders unless the user clicks on them, reducing the overhead.

  • @prathmeshjagtap6961
    @prathmeshjagtap6961 2 роки тому +1

    Great video you just explained it so well and congrats for the job, we will like to have more videos on frontend interviews

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +1

      Thanks a lot. I will bring more such videos for sure!

  • @pallabsonowal7110
    @pallabsonowal7110 2 роки тому +1

    Whoa.. Nice explanation. Loved the last question, didn't know recursion can be used liked this.

  • @GauravSingh-hv9ii
    @GauravSingh-hv9ii 2 роки тому

    Best Video I have ever seen.Plz share more interview videos and questions.It would be really helpful.Thanks.

  • @soumyajitdey5720
    @soumyajitdey5720 2 роки тому

    Very thorough and also to the point explanation! Thank you 🙌 Learnt so much!

  • @yashpreetbathla4653
    @yashpreetbathla4653 2 роки тому +1

    Hey man really really awesome video, can you please keep making this kind of videos.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +1

      Yes, Checkout other videos on my channel!

  • @ravikumar-gp6ui
    @ravikumar-gp6ui 5 місяців тому

    confidence ab aane laga hai video dek kar and question practise kar ke , thank you

  • @saritamandal5365
    @saritamandal5365 2 роки тому

    Please create more such videos of frontend interview experiences. The way of explaining was really clean and easily understandable.

  • @akalrove4834
    @akalrove4834 2 роки тому +1

    Amazing Interview series. You are the best teacher out there. Hats off to you sir!

  • @biishtplease
    @biishtplease 5 місяців тому

    If used optional chaining [like explorer?.items?.map] ,then isFolder would not be required in Folder.js Nice Video, keep them coming...

  • @mrahamed5985
    @mrahamed5985 2 роки тому

    You are just doing an amazing job man. thanks for sharing your knowledge with the community. I really appreciate you from the bottom of my heart. Please make a video about how can we reach out to people with a nice approach. Thanks a lot.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +1

      Hey thank you so much, you made my day! I will make that video soon!

  • @rohanpaul2504
    @rohanpaul2504 2 роки тому +3

    Hey great job !! One doubt though, the question 21:17 for the folder structure instead of handling of handling the tree on CSS side, wouldn't it be better to handle the collapse and expand on js side by keeping track of expanded or collapsed items, because through your approach u are always looping over the children elements and then hiding /showing them based on the click.

  • @akash4952
    @akash4952 2 роки тому

    Just subscribed , loved your content keep posting you are helping lot of people including me thank you ❤️

  • @kuntalbhattacharyya7614
    @kuntalbhattacharyya7614 2 роки тому

    One of the best Frontend interview series video, Thank you so much ❤❤

  • @do_u_dsa
    @do_u_dsa 2 роки тому

    In an interview setup it is not easy to code what you think!
    Just for the interest of the larger audience, at line#15, 31:37:
    explorer.items && explorer.items.map(exp => .......)
    would have also done the job I guess instead of going for an if-else?
    Good content and thanks for sharing this :)

  • @mahtvbansal8775
    @mahtvbansal8775 2 роки тому

    Do make a video on contacting people on LinkedIn and cold emailing. Loved this video. Learned a lot

  • @SurendraSingh-tf7tk
    @SurendraSingh-tf7tk 2 роки тому +1

    bro please make series in which u only solve such frontend real world problems like u did here for react. It will be really helpfull

  • @sumanthprabhu11
    @sumanthprabhu11 2 роки тому +4

    I have some questions Please Answer
    1) Was this a fresher interview if not how many years experience you have?
    2) No questions on redux , context, hooks?
    3) Also since react is a library to make UI components , i'm surprised there was no task in making any components or a mini app (i might totally be wrong on this , as this interview was for a senior developer , please share your experience as react developer)
    4) Please give inputs and tips for fresher interviews please

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +2

      Hey,
      1) This was freshers interview.
      2) No. But it depends on the company.
      3) In round 2 they provided me that folder component to make!

    • @maxwelochieng7658
      @maxwelochieng7658 2 роки тому +1

      If this is what they ask you I am getting worried as a junior. The questions are tough are these for junior devs too

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Bro, It varies from company to company.
      And, the reward will also be worth it! 🔥

    • @maxwelochieng7658
      @maxwelochieng7658 2 роки тому

      @@RoadsideCoder okay but Imma try the react one it's fair 😁

    • @sumanthprabhu11
      @sumanthprabhu11 2 роки тому

      @@RoadsideCoder Thanks for replying quick 😀

  • @k303k
    @k303k Рік тому

    Great frontend interview video sir.I learned a lot from this video.Thanks a lot

  • @kalyankumar9663
    @kalyankumar9663 2 роки тому

    Bro this was awesome you nailed it :).Learned a lot from this make videos more like this.

  • @arbaazkhan380
    @arbaazkhan380 Рік тому

    learned so many things so far best video for interview preparation

  • @prabhakaranv80
    @prabhakaranv80 Рік тому

    It was interesting concept on finite currying, but am stuck with small error can you provide what condition should be given if we don't provide an anonymous function at end
    function add(a){
    return function(b){
    if(b) return add(a+b);
    return a;
    }
    }
    console.log(add(2)(4)(4))
    Result : [Function (anonymous)]

  • @moviesworld4179
    @moviesworld4179 2 роки тому

    Finally, I found someone who posted a normal working crack!

  • @alexmercer5870
    @alexmercer5870 2 роки тому

    Woahh!!
    Yeh Hota hai interview experience ka mtlb.
    Explained each question with answers?!! 🔥🔥🔥🔥..
    Awesome stuff piyush!
    Kar liya bhai subscribe aur follow bhi.

  • @ganeshkhirwadkar4127
    @ganeshkhirwadkar4127 2 роки тому

    Very detailed explanation and the patience with which you discussed each & every question is appreciable ! It will definitely going to help a lot of dev out there who are preparing bhai !

  • @deepaknegi531
    @deepaknegi531 2 роки тому

    Thank you for the effort on making this video and congrats! Keep rocking

  • @rakaa31
    @rakaa31 2 роки тому +1

    make a video on coldmail how to approach founders?

  • @sunstar4967
    @sunstar4967 2 роки тому +1

    @Roadsidecode what was the time gap between those 3 rounds?

  • @wairya
    @wairya 2 роки тому

    Awesome!! Amazing video please keep on making this content thanks for sharing your experience and kindly share your experience of preparing for these interviews 😃

  • @shaikhalamin23
    @shaikhalamin23 2 роки тому

    its really a awesome explanation. carry on. waiting for the next interview experience session

  • @curiouspatel
    @curiouspatel Рік тому

    Please bring more such kinda content. It help a lot

  • @gulshanlalwani
    @gulshanlalwani 2 роки тому

    Awesome explanation and please continue to make such videos. You rock!

  • @mattymax1721
    @mattymax1721 2 роки тому +1

    great explanations, like always. Can you do a project based tutorial with vanilla javascript? Your MERN tutorials are very good, i learned a lot from them, but I think many people, me included have started using react or other framework before understanding some of the core concepts in js. I want to make a step back and go to pure javascript, and the way you teach would help me a lot.

  • @kidsworldforfun3986
    @kidsworldforfun3986 2 роки тому

    excellent video to get prepared for interviews. Thanks a lot.

  • @World-vf1ts
    @World-vf1ts 2 роки тому

    Thanks man!
    was really helpful & got a god job offer

  • @vijayaganthsivalingam9789
    @vijayaganthsivalingam9789 2 роки тому

    it's really helpful who are seeking job. Superb work and keeps going on! Thanks... 🙏

  • @Im_RajSingh
    @Im_RajSingh 2 роки тому

    Nothing was confusing . U cleared everything.

  • @karthikkonathala3002
    @karthikkonathala3002 2 роки тому

    Please continue this interview series. The whole is awesome.

  • @imkir4n
    @imkir4n 2 роки тому

    Everything on point got a good view about the interview!

  • @bardhan.abhirup
    @bardhan.abhirup Рік тому

    The last react question was very informative. Thanks!

  • @parasrawat9321
    @parasrawat9321 2 роки тому

    Best interview Experience video 👍
    I am glad i found this channel

  • @juniorWeb247
    @juniorWeb247 2 роки тому

    thanku soooooooooooooooooooooooooooooooooooooooooooo much brother for clearing so many concept, please provide more and more video in

  • @annusingh4694
    @annusingh4694 2 роки тому

    Thank you for such smooth presentation of important concepts.

  • @yodahunter1412
    @yodahunter1412 2 роки тому

    You explained that react question too good, I was confused when i heard that question

  • @debarshipal8275
    @debarshipal8275 2 роки тому +1

    Thanks for sharing your experience. Everything was perfect from the questions to your answer, your oration. I am struggling to get calls from recruiters because of my 90 days notice period. Meanwhile sharpening my knowledge in js and react. Could you make a video on cold emails and how to approach recruiters properly. Thanks, Subscribed 👍

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +1

      I'm glad that I could help you! And yeah a video on cold emailing will be dropping soon!

    • @debarshipal8275
      @debarshipal8275 2 роки тому

      @@RoadsideCoder Appreciate your efforts.

  • @RAJKUMAR-yy8vg
    @RAJKUMAR-yy8vg 2 роки тому

    Well done, I am new to react and this helped me a lot. Liked and subscribed.

  • @jsagar95
    @jsagar95 2 роки тому

    Excellent!
    Very informative and useful.
    Thanks!

  • @Romeo-re5hq
    @Romeo-re5hq 2 роки тому

    Doing very good brother.
    Keep it up. Big thumbs up
    You got one more subscriber.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому +1

      Hey, Thanks for the appreciation man!

  • @PraveenKumar-ft2kr
    @PraveenKumar-ft2kr 2 роки тому

    Its such a great one brother.. Thank for making a video on this :) loved it

  • @shreyanshmishra6613
    @shreyanshmishra6613 2 роки тому

    Instead of putting if/else block like u did... should have put it inside the return statement using ternary operator. IMO, would've looked much cleaner.

  • @partibhajangra1975
    @partibhajangra1975 2 роки тому

    In function memoization, what is the significance of context argument? Why are we adding that?

  • @deepakchandani5237
    @deepakchandani5237 2 роки тому

    so real, thanks for putting efforts in creating & sharing this

  • @ashutosh.jangra
    @ashutosh.jangra Рік тому

    Excellent explanation and good explanations

  • @sarthaksrivastav3408
    @sarthaksrivastav3408 2 роки тому

    Really helpful. Thanks for uploading.

  • @skoodath
    @skoodath 2 роки тому

    Great content and greatly helpful! Was there a need to do JSON.stringify() on the memoize question? Wouldn't just using any meaningful key do?

  • @madanhegde1957
    @madanhegde1957 2 роки тому

    this really helped a alot. thanks so much

  • @manojkumarganigapeta2966
    @manojkumarganigapeta2966 2 роки тому

    Your explanation is very cool every one will understand easily thanks for good interview questions

  • @kaushikappani7006
    @kaushikappani7006 2 роки тому +1

    Please continue with javascript interview series and core javascript features It would help a lot

    • @veterancode2523
      @veterancode2523 2 роки тому

      you should also visit this javascript coding interview questions challange playlist as well it will really help u
      ua-cam.com/play/PLAx7-E_inM6EkgZkrujZvewiM_QZRU4A2.html

  • @manojthayil7836
    @manojthayil7836 2 роки тому +1

    Thanks buddy for such wonderful content ,God bless you.can u share where we can get such practice questions please

  • @saketabhishek5147
    @saketabhishek5147 2 роки тому +1

    Please make video on cold emailing and how to reach out

  • @suyashsrivastava3671
    @suyashsrivastava3671 11 місяців тому

    Thanks bro your video helped me a lot 🎉

  • @hritwiksom3032
    @hritwiksom3032 2 роки тому

    This was amazing!

  • @abbastahir9542
    @abbastahir9542 2 роки тому

    I am from Pakistan.
    Nice explanation bro keep it up. Waiting for the next video with a complete tutorial on Reacts

  • @aniketkhare9496
    @aniketkhare9496 2 роки тому +2

    Explanation was really good. If I may ask what was the CTC they were offering ?

    • @RP-qv9sc
      @RP-qv9sc 2 роки тому

      Pls answer this

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      It depends completely on your skillset and negotiation with the HR.

  • @kshirodpatel
    @kshirodpatel 2 роки тому

    Congrats for 10K subscribers. More power to you buddy...

  • @randeeprana5622
    @randeeprana5622 2 роки тому

    Awesome explaination bro, thanks for making such amazing content.

    • @RoadsideCoder
      @RoadsideCoder  2 роки тому

      Thanks for the appreciation man ❤️

  • @rupank6396
    @rupank6396 2 роки тому

    Great presentation skills man!

  • @VishalSingh-rx4if
    @VishalSingh-rx4if 2 роки тому

    great way of explanation. Thanks for your efforts