React JS Live Code Interview Round (Mock)

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 62

  • @4444-c4s
    @4444-c4s Рік тому +15

    You silently observed what he was doing since 18 minutes. Great sir. Interviewers ese hi hone chahiye, jo saamne wale candidate ko confidence de.

  • @ranjit2805
    @ranjit2805 Рік тому +9

    I wish my today's interview will be like this!

  • @anandgomaskar2210
    @anandgomaskar2210 Місяць тому

    very nice to all coding round i enjoy it

  • @abhisheknavgan6829
    @abhisheknavgan6829 3 місяці тому +1

    I don't know why it took him 15 minutes to do such easy question
    import "./styles.css";
    import { useState } from "react";
    const options = ["cricket", "footbol", "hockey"];
    const days = ["weekday", "weekend"];
    export default function App() {
    const [option, setOption] = useState("");
    const [day, setDay] = useState("");
    return (


    game :
    {options.map((elem) => (

    setOption(e.target.value)}
    name="option"
    value={elem}
    />
    {elem}

    ))}


    Day :
    {days.map((elem) => (

    setDay(e.target.value)}
    name="day"
    value={elem}
    />
    {elem}

    ))}

    Game : {option}
    Day : {day}

    );
    }

  • @sultangaming7336
    @sultangaming7336 Рік тому +5

    I do this in just 1 minute without any help but i am still searching for internship 😢

  • @ManishGupta-nv5by
    @ManishGupta-nv5by 2 місяці тому

    biggest thing file name is app.js and we are using jsx

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

    I don't how to tell that sir but is it really so so so.... much basic and easy task for interview. I mean what would be the purpose of this task?

    • @coderdost
      @coderdost  2 роки тому +8

      In a LIVE coding round of 30 mins, a fresher can’t do more than this. Especially without using google and their own code editors. We have not published but many couldn’t complete it. Also if people with more experience can participate we can share better problems.

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

      I believe its the building block problem and its good to have such basic questions.
      How strong is your base is what JavaScript and React wants.
      Nice video

  • @NikhilPatel-bq7ck
    @NikhilPatel-bq7ck 2 роки тому +3

    Please add some advance level topics that are based on design patterns

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

      Can’t add in interviews. Will make in separate video.

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

      Bann Gaye kya sir​@@coderdost

  • @PaulGreen-lk1ym
    @PaulGreen-lk1ym Рік тому

    Great work! Waiting for you to start recording videos in English too😂

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

    The candidate is looking on the web on the side is this the real interview?
    BTW love your informative bite videos

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

      No, actually candidate has a problem in web camera- so he has to put mobile on side..for camera …and then look into laptop to code.. so it is not perfect..and frustrating. But he managed

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

    mujh se bhi ese questions kyu nahi puche jate, puchenge to six degrees of separation, are mene to internship ke liye apply kiya tha six degrees of separation hota kya hi wahi nahi pata mujhe

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

      Why someone will ask six degree of separation? May be interviewer has read it recently 😂

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

      @@coderdost ho sakta hi, or wo bhi internship ke liye, 2 questions diye the ek tha move of knight to usko some how kar liya, ye six degree wala to kuch samjh he nahi aya

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

      @@ajiteshmishra those are standard problems, copy pasted from some web sites. these day nobody has time to take interview seriously...this is somewhat reality of any job industry in India. you will need to try more... such interviews are not the criteria of skills. they are like exams where candidates who have done previous year paper ... passes..

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

      @@coderdost sahi bat hi bhaiya

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

    please provide the link of codesandbox

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

      codesandbox.io/s/eloquent-sky-llntl1?file=/src/App.js

  • @gaganbaghel1377
    @gaganbaghel1377 Рік тому +2

    your content is really good -- i would like to add an suggestion to it -- you can add your video of solution to problem that you give in interview because without it we will only know about the question asked and what are the mistakes . we want you to explain the proper solution at the end of video @CoderDost

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

    Please provide me code link bro please try to add the code link in description if it possible

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

      codesandbox.io/s/eloquent-sky-llntl1?file=/src/App.js

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

      Thank you

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

      @@coderdost this is incomplete code bro

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

      @@lingarajhiroli965 codesandbox can be edited.. I think many people will be using it.

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

      @@lingarajhiroli965 I am not familiar with code sandbox. May be there is a way to not allow edits. Have to apply that. anyone who wants to run can Fork and run.

  • @kjbassu
    @kjbassu Рік тому +2

    Correct me if I am worng Because I am learning React Js.
    For Map function in react there should be unique key prop for parent element right🤔🤔?
    But I didn't see that😊.

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

      Yes, but code can work without it also. although not a good code. as it will not be optimised. In interview ppl skip small details.

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

      @@coderdost kudos 🙏 for educating us sir.

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

      ​@@coderdostis key used only when the components are render using rendering list concept?

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

      @@niteshbovi769 keys are to optimize virtual dom creation. when DOM is straight-forward we don't need a key.... so only applicable when you have copied components (mostly happens loops /lists)

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

    Sir please try to make video atleast in a day one like this and coding in js

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

    Bhai when react playlist will u upload

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

      It will come soon. Will release in single big video

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

    thanks for the Interviews

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

    Bro this is easy ..did these kind of questions asked for freshers?😮🎉

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

      Question is easy. But live coding and nervousness of completing in 30 mins.
      Live coding will have easier question. But if they give task that is not live. Much harder question are expected

  • @RohitSaini-go3cr
    @RohitSaini-go3cr Рік тому

    How can we come into your videos for interview?

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

      sometime we post for interviews on channel. It may come back in sometime

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

    Sir make video on secure token in react js

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

    sir please do anylasis after interview

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

    Sir if you need any condate for interview I am ready for that

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

      Sure. In upcoming week we can have one. You can mail at coderdost gmail id

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

    Is this question considered to be easy/medium for interview?

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

      This is an easy one if it to be done without presence of interviewer. But if you are live on camera or solving in front of interview. It can be consider medium ( Also for fresher and new developers). Very easy of experience one.

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

    I am from Bangladesh, can I have an interview?

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

      Sure once we restart more interviews session. Any one can apply.

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

    For which company you are taking an interview ?

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

      these are mock interview. just for practice of any fresher level interview

  • @WaqarAhmad-qz8mv
    @WaqarAhmad-qz8mv 2 роки тому +1

    It seems totally newbie

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

      Yes

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

      i guess u are too thats why bragging around 18 minutes interview questionds and watching them fully

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

    done in 9mins:
    import React, { useState } from "react";
    // Array of sports names
    const sports = ["football", "basketball", "soccer", "tennis", "volleyball"];
    // Array of days names
    const days = ["weekdays", "weekends"];
    function App5() {
    const [choice, setChoice] = useState({
    sports: "",
    days: "",
    });
    console.log(choice);
    return (

    {/*sports selection */}
    {sports.map((ele, i) => {
    return (

    {
    setChoice({ ...choice, sports: ele });
    }}
    />
    {ele}

    );
    })}

    {/*days selection */}
    {days.map((ele) => {
    return (

    {
    setChoice({ ...choice, days: ele });
    }}
    />
    {ele}

    );
    })}
    WHICH GAME : {choice.sports}
    ON DAY:{choice.days}

    );
    }
    export default App5;