Don't watch this

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

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

  • @popilarflims5397
    @popilarflims5397 4 หลายเดือนก่อน +2

    this is the code snippet for question no 10 ->
    ```
    import React from 'react';
    const items = [
    'item 1',
    ['nested item 1.1', 'nested item 1.2', ["hye 1.3.1", ["helo 1.3.2.1"]]],
    'item 2',
    ];
    function flatlist(itemsArray, newArray){
    for(let i=0; i
    {itemsArray.map(item => {item})}

    Flattened List ->
    {ans.map(item => {item})}
    );
    }
    function Exercise10() {
    return (
    )
    }
    export default Exercise10;
    ```

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      Wonderful !! good that you attempted !! you could tried props.childern property ? can you explore on that share more optimised snippet.

  • @technologiesmotivationd7754
    @technologiesmotivationd7754 4 หลายเดือนก่อน +2

    Thanks sir for sharing valuable video for us

  • @krishparmar7917
    @krishparmar7917 4 หลายเดือนก่อน +3

    Hello Sir, I have watched all your videos related to React.js interviews, and I wanted to share some feedback. Your questions are excellent, but they are mostly theoretical. Nowadays, many companies and startups ask a few theoretical questions for warm-up and then move on to machine coding rounds. In these rounds, they give a task to build something in front of the them, and in between they will ask some question.
    I think it would be incredibly helpful if you could create some videos focused on these practical coding rounds. This would really help us prepare for upcoming interviews. I've been through 3-4 interviews myself, although they were not with high-paying companies.

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      Yup !! next series I'm planning is the same. This video as I clearly mentioned it is easy difficultly level. Primarily targeting service based companies.

  • @elizabethkannamma3094
    @elizabethkannamma3094 4 หลายเดือนก่อน +3

    import React from 'react'
    const items = [
    'item 1',
    ['nested item 1.1', 'nested item 1.2'],
    'item 2'
    ]
    function FlattenedList(props) {
    const items = props.items;
    const flatted = items.flat()
    return (

    {flatted.map((item, i) => {
    return {item}
    })}

    )
    }
    function Flatten() {
    return (
    Flatten
    )
    }
    export default Flatten

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      Wonderful !! good that you attempted !! I want you to write the flat logic can you explore on that share more optimised snippet.

  • @khanapeena2191
    @khanapeena2191 4 หลายเดือนก่อน +2

    very good video 🎉🎉 tomorrow I have my interview on react thank for that 😊

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      I know it is late !! I assume it went well !!

    • @khanapeena2191
      @khanapeena2191 4 หลายเดือนก่อน +2

      @@careerwithvasanth it went well i selected

  • @naveenau143
    @naveenau143 4 หลายเดือนก่อน

    This sort of videos are very helpful. Thanks a lot
    Here is the code snippet, for 10th question.
    import React from 'react';
    function Flatten(list) {
    return(

    {
    list.map((li, idx) => {
    return typeof(li) == 'object' ? (
    Flatten(li)
    ) : (
    {li}
    )
    })
    }

    )
    }
    export function App(props) {
    const listItems = [
    "Item 1",
    ["Nested 1.1", "Nested 1.2"],
    "Item 2",
    "Item 3 ",
    ["Nested 3.1", "Nested 3.2"],
    "Item 5"
    ]
    return Flatten(listItems)
    }

  • @ore_wa_king
    @ore_wa_king 4 หลายเดือนก่อน +1

    Answer 10:
    import React from "react";
    const items = [1, 2, [3, 4, 5, 6, 7, [8, [9, 10, [[11, 12]]]]]];
    function Helper({ arr }) {
    return (

    {arr.map((item, index) => {
    if (typeof item === "object") {
    return ;
    } else {
    return {item};
    }
    })}

    );
    }
    function FlattenedList(props) {
    const items = props.items;
    return (



    );
    }
    const Exercise10 = () => {
    return ;
    };
    export default Exercise10;

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      Wonderful !! good that you attempted !! you could tried props.childern property ? can you explore on that share more optimised snippet.

  • @khanapeena2191
    @khanapeena2191 4 หลายเดือนก่อน

    Hi vasanth i want you to make a video on what work done by junior react developer or any other developer after getting job in detail it helps Lot

  • @ankushladani496
    @ankushladani496 4 หลายเดือนก่อน +1

    1. Please sign in
    Because you haven't passed anything means props will be undefined and it is falsy value.

  • @technologiesmotivationd7754
    @technologiesmotivationd7754 4 หลายเดือนก่อน +1

    Sir Where are you from? sir i wants to meet you please can you tell me ?

    • @careerwithvasanth
      @careerwithvasanth  4 หลายเดือนก่อน

      I'm from Karnataka and stay in Bengaluru. Meeting me personally, I'm not sure. Let me know what is your concern. If it is personal
      join my telegram group here t.me/uncommongeek and follow me on linkedin here www.linkedin.com/in/careerwithvasanth/ and message me.

  • @ankushladani496
    @ankushladani496 4 หลายเดือนก่อน +1

    ❤🎉