Javascript Interview Questions ( map, filter and reduce ) - Polyfills and Output Based Questions

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

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

  • @RoadsideCoder
    @RoadsideCoder  2 ปีที่แล้ว +9

    🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details

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

      bhai 2/4 bot(twitter, telegram, discord) bala projects bhi karado na please!🙏🙏

  • @ankittyagi1178
    @ankittyagi1178 2 ปีที่แล้ว +42

    the last question can be done only using reduce Because when we chain multiple operators we increase the complexity. Thanks for the video, learned alot.
    let output =students.reduce((acc,curr,i,arr)=>{
    if(curr.marks60 ){
    acc=acc+curr.marks
    }
    return acc;
    },0)
    console.log(output);

    • @shash0_0
      @shash0_0 8 หลายเดือนก่อน

      Not completely true. The complexity would still be in the range of O(n). I do agree that it will 'increase', say, by a factor of k times n but it would still be linear. In real codebases, you prefer readability over over-optimizations.

    • @shash0_0
      @shash0_0 8 หลายเดือนก่อน

      Here's a more readable approach-
      const totalMarks = students
      .map(x => {
      if (x.marks < 60) x.marks = x.marks + 20;
      return x;
      })
      .reduce((acc, curr) => {
      if (curr.marks > 60) return acc + curr.marks;
      return acc;
      }, 0);
      console.log(totalMarks);
      Once catch which is similar to your approach is that it modifies the original array

  • @arghyamitra3281
    @arghyamitra3281 2 ปีที่แล้ว +65

    Want to thank you 😊 .. got selected at Paytm ( ur js interview questions helped a lot)

    • @codestop8111
      @codestop8111 2 ปีที่แล้ว +6

      Bro aur kuch batao kaise apply kiya kya poocha gya kitna experience tha aur package bgera if you are comfortable

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

      Is Paytm a good option in the current situation? have my last round tomorrow but am a bit skeptical about should I proceed or not.

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

      guys did you attend for DSA rounds too?

    • @RoadsideCoder
      @RoadsideCoder  2 ปีที่แล้ว +5

      Wow dude, congratulations! Message me on instagram @RoadsideCoder. I'd love to know more

    • @Iopnotyouopiop
      @Iopnotyouopiop ปีที่แล้ว +6

      This guy is roadside coder video editor😂😂

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

    I think the best content on javascript ever on TH-cam because you just don't teach theory but also the potential questions to be asked related to them. Please complete this interview playlist of javascript and don't stop making videos . Waiting for your prototype and inheritance video

  • @medipaksinha
    @medipaksinha 27 วันที่ผ่านมา +1

    Thanks for making this video ❤😢

    • @RoadsideCoder
      @RoadsideCoder  27 วันที่ผ่านมา

      Glad you found it helpful! 💖

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

    You are the most underrated JS content creator. Thanks for your awesome contents!

  • @jenso413
    @jenso413 2 ปีที่แล้ว +6

    Thanks for the videos man, using them a lot to help prepare for interviews. One flaw I found with your reduce polyfill, though, is that you need to check if the accumulator has a value of 0 first. Normal reduce lets you pass in a value of 0 to start, but if you just check for truthiness 0 will evaluate to false. I discovered this when testing my own reduce method on your problem at 20:50 . It returned [object Object] because it was taking the this[i] value as one of the objects of the array. A minor detail though, thanks again!

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

      Thanks for the feedback

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

      Array.prototype.myReduce = function (cb, initialValue) {
      var accumulator = initialValue;
      for (var i = 0; i < this.length; i++) {
      if (accumulator !== undefined) {
      accumulator = cb(accumulator, this[i], i, this);
      } else {
      accumulator = this[i];
      }
      }
      return accumulator;
      };
      ACCORDING TO MEDIUM ARTICLE ON POLYFILLS

  • @kanchanmatai4170
    @kanchanmatai4170 9 หลายเดือนก่อน +2

    very nicely explained the concepts with exercises....awesome!!!!keep sharing such content!!

    • @RoadsideCoder
      @RoadsideCoder  9 หลายเดือนก่อน

      Thanks, You can find full course here - roadsidecoder.com/course-details

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

    Super bro fantastic ....

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

    you could use "quokka extension" to log the values in vs code itself

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

    your all videos are Praiseworthy💯. I Improved a lot after watching your tutorials 😍.. tons of thanks and respect🙏

  • @RahulKumar-ew1qw
    @RahulKumar-ew1qw 2 ปีที่แล้ว +1

    U are making me stronger than my past. Love u brother..

  • @shashanksshetty9870
    @shashanksshetty9870 2 ปีที่แล้ว +9

    Good concept. Liked the way you broke down problem and showed approach to resolve it.
    Also, there is one more difference between forEach and map. If element is undefined then map will skip that iteration where as forEach won’t skip that.
    I found this issue when I ran new Array(3).map(cb) here map function didn’t work at all. That’s where I came across this issue.
    PS: fix for above issue is
    const res = new Array(3).fill(1).map(cb) 👻

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

      This is not an issue, it just creates an empty array so map doesn't iterate over empty array.

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

      Think of it as
      let arr = []
      arr.length = 3

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

      arr.length is a hacky solution, I don't recommend it. Those are called sparce array(not sure of names). Basically all the HOC functions which are introduced for array prototypes avoid this type. Since they consider this as bad data formatting. I don't remember the exact source of this topic. You can give it a shot in MDN docs.

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

    I was confused in this topic this video is life saver thanks.

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

    Maja aagaya bhaiya thank you...

  • @shash0_0
    @shash0_0 8 หลายเดือนก่อน

    Helped a lot. Thanks!

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

    Awesome learning from you🎉

  • @AbhishekBhandari-m7v
    @AbhishekBhandari-m7v ปีที่แล้ว +1

    Better solution for last Question : -
    const result = students
    .map((stud) => (stud.mark < 60 ? { ...stud, mark: stud.mark + 20 } : stud))
    .reduce(
    (accu, curStudent) =>
    curStudent.mark > 60 ? accu + curStudent.mark : accu,
    0
    );
    Reason why is this solution better : -
    1st reason : you save using Filter method means more optimized .
    2nd reason : The solution provided in video at 24:32 , he mutates the stu.mark += 20 which in result also mutates the original array(students) which is bad practice.

  • @kalukalu6627
    @kalukalu6627 7 หลายเดือนก่อน

    Awesome video, thank you for sharing your expertise on map, filter, and reduce polyfills. The explanations and examples were very clear and helpful. I appreciate the effort you put into creating such a valuable resource for JavaScript interview preparation. Keep up the great work!

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

    Its really amazing sir

  • @zhumabayevorymbek2548
    @zhumabayevorymbek2548 9 หลายเดือนก่อน

    Thanks for such good explanation!

  • @DS-zr9gv
    @DS-zr9gv ปีที่แล้ว

    Thanks for this 💚

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

    Awesome Explanation

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

    U're so funny and Ur teaching is so wonderful...I think u're among the best..No i don't think,i'm sure...

  • @A9kit.k
    @A9kit.k 2 ปีที่แล้ว

    Yes sure, plz add more videos like this. Thank you

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

    Thank you 🙂👍

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

    Completed ✅

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

    You are doing well ❤❤

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

    Your video has made these confusing concepts much clearer. Thanks Alot man!

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

    thanks for helping to understand the concept brother

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

    Very helpful👍🏻

  • @jonecir
    @jonecir 6 หลายเดือนก่อน

    Hello, you did a very good job posting these JS interview questions!

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

    After following you on twitter,i get 100% hike,it works

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

    Hey ! Thanks for explaining so nice and marveless

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

    in custom reduce function we can simply add default value to initialValue, it's cleaner and more understantable
    Great content though!
    Array.prototype.myReducer = function(callback, initialValue = this[0]) {
    let result = initialValue;
    for(let i = 0; i < this.length; i++) {
    result = callback(result, this[i], i, this)
    }
    return result
    }

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

    keep coming these valuable videos

  • @lovishduggal9064
    @lovishduggal9064 8 หลายเดือนก่อน

    Thanks!!

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

    Awesome content bro 🤜...

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

    Great please keep uploading regularly

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

      Trying my best, Unable to get time due to job 😕

  • @GauravKumar-ue7nz
    @GauravKumar-ue7nz 2 ปีที่แล้ว +2

    Thank you For This.
    PS: In last question, Inside map you modified the original students.

  • @AshishGupta-be2yz
    @AshishGupta-be2yz ปีที่แล้ว

    Nice content bro...thanx a lot very helpful for interviews.

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

    Legend brother, One more amazing video❤️

  • @AkhilendreRawat
    @AkhilendreRawat 5 หลายเดือนก่อน

    Great video! Just that reduce prototype should not be checked against accumulator to assign initial value, instead should be checked for accumulator value being undefined or not . So that if you do console.log([0,2,3].myReduce((acc,curr)=>{return acc*curr},0)); you will get 0 not 6.

  • @gauravgol2211
    @gauravgol2211 7 หลายเดือนก่อน

    Thankyou sir

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

    Thanks a lot bro for your guidance, with your support I cracked React Js Frontend interview as a frasher.

  • @fabricator.seattle
    @fabricator.seattle 2 ปีที่แล้ว

    This was a really great video, thanks!

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

    hey dude.first of all thanks for the all videos. i have just learned your redux concept video. your way of teaching is awesome. and one more thing please wear small size eyeglass

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

    Love you from Pakistan 🇵🇰 I got a remote job in the US your videos helped me a lot

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

    thank you bro thank you

  • @soni.himansh
    @soni.himansh 2 ปีที่แล้ว

    What all vscode extension do u use , I like the one u use of auto spacing or identation. Which one is that?

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

    Firstly thank you for making these kinds of videos. These videos are super helpful.😍 And what kind of questions do interviewers ask in React? Please make a video of this. Also, Having problems in implementing useReducer. Please refer to some good resources☹

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

      Glad you liked it! Also for useReducer, you can watch my shopping cart video on my channel.

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

    hey, this polyfill for reduce is not giving correct result when we have to find sum of square of array items. for that we gave initial value as 0 ,so in for loop when we are checking accumulator has value or not it takes zero is false value assigned the value of first index instead of square of it. to removed this Error we have to refactor our ternary operator checking by
    accumulator=(accumulator===undefined)?this[i] : cb(accumulator,this[i],i,this);
    so when initial value is given as zero that time it will not take this as falsy value and call the callback function instead assigning first index value.

  • @VimalKumar-ts7xn
    @VimalKumar-ts7xn ปีที่แล้ว +2

    i see on issue in the reduce method polyfill that if we send 0 as the initial value, this implementation breaks due to nullish coalescing since it takes 0 as a falsy value
    so we can update the check like acc = acc || acc== 0 ? cd(params): this[index]

    • @surjoyday_kt100
      @surjoyday_kt100 11 หลายเดือนก่อน

      Array.prototype.myReduce = function (cb, initialValue) {
      let acc = initialValue != undefined ? initialValue : this[0];
      for (let i = 0; i < this.length; i++) {
      acc = cb(acc, this[i], i, this);
      }
      return acc;
      };
      Brother even i had the same thought, you can try this i think this will solve the issue of initial value as 0.
      And thank you very much for the insightful interview questions @RoadsideCoder. They are incredibly helpful in preparing me for future opportunities.

  • @ankitgaur7428
    @ankitgaur7428 7 หลายเดือนก่อน

    Bro your interview questions are very good, but please provide source code also it will be very helpful for us .

    • @RoadsideCoder
      @RoadsideCoder  7 หลายเดือนก่อน

      All the source code here - roadsidecoder.com/course-details

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

    nice video, lot of insights for me (work exp under 2 years)

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

    For reduce polyfill, we should only check if accumulator is undefined when i=0. We should not use ? To check undefined. See the output by giving [-1, 1, 2, 3]

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

      Array.prototype.myReduce = function (cb, initialValue) {
      var accumulator = initialValue;
      for (var i = 0; i < this.length; i++) {
      if (accumulator !== undefined) {
      accumulator = cb(accumulator, this[i], i, this);
      } else {
      accumulator = this[i];
      }
      }
      return accumulator;
      };

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

      @@chhavimanichoubey9437 your solution will not work if we pass undefined as accumulator

  • @swaroop040
    @swaroop040 6 หลายเดือนก่อน +1

    can you please tell what can be the output of the following code
    function sample(){
    console.log(x)
    console.log(y)
    }
    var x = 10;
    let y = 11;
    sample();
    and also explain

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

      the output will be 10,11. Initially variables and function are stored in memory component of execution context. in code run phase once it reaches function call it access the global variables such as x and v and logs them to the console.

  • @avneetkaur2731
    @avneetkaur2731 11 หลายเดือนก่อน

    your javascript knowledge is really great! can you make a video on topics like event loop and prototypal inheritance as well.

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

    Excellent video, however last problem statement seemed fine to be executed via a single reduce function :)
    let students = [
    {name:"a", marks:80},
    {name:"b", marks:69},
    {name:"a", marks:35},
    {name:"a", marks:55},
    ]
    const arr = students.reduce((acc,curr)=>{
    if(curr.marks>60) return acc + curr.marks;
    else if(curr.marks+20>60) return acc + curr.marks+20;
    else return acc;
    },0)
    console.log(arr);

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

      It can be more simpler.
      students.reduce((acc,curr,i)=>{
      let val = curr.marks

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

    Another solution to the last problem:
    const op = users.filter((user) => (user.marks + 20) > 60).reduce((acc, user) => acc + user.marks, 0);
    😀😀

  • @Lucifer-xt7un
    @Lucifer-xt7un 2 ปีที่แล้ว +1

    Please make these video series regularly bro 🥺 🥺

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

      Trying my best, Unable to get time due to job 😕

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

    Awesome content bro 🤜...
    Which documentation you refer to for preparing ur content? Can you suggest one?

  • @front-end-world
    @front-end-world 9 หลายเดือนก่อน

    Final qn one other approach:
    const result = students.reduce((acc,current)=>{
    let sum = (current.mark =60){
    acc = acc + sum;
    }
    return acc;
    },0)
    console.log(result)

  • @PratikP-j1f
    @PratikP-j1f ปีที่แล้ว

    graat I like it

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

    Thank you sir.. please cover callback and promise in Javascript .

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

    What extensions in VSCode are best for day to day UI coding?

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

    Why did you use Var( instead of Let ) in Reduce polyfill ?
    Var accumulator = initialValue;

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

    Bro in redux reducer get actions from dispatch function?

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

    Would you make a video on nested json . Like Filtering nested json array .

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

    Please start the e-commerce series with Geo location api to filters the nearest shops

  • @PrasenjitDas-ju8ol
    @PrasenjitDas-ju8ol 2 ปีที่แล้ว

    Please make a video for Array.flat() prototype

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

    Sir please make a video on prototype prototyipal inheritance

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

    when we dont give any initial value for reduce in last task, it will take whole object as initial value right? so we need to give initial value?

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

      it will take 1st element of array as an initial value

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

      @@RoadsideCoder but then we have to do something like this acc.marks right?

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

    Make video on interview question on css. Basics

  • @subhanOther
    @subhanOther 3 หลายเดือนก่อน

    Hey, after seeing polyfill of map and filter i have created polyfills of reduce method by my own
    const arr = [1, 2, 3, 4];
    Array.prototype.Reducer = function (fn, temp = this[0]) {
    let acc = temp;
    for (let i = 0; i < this.length; i++) {
    acc = fn(acc, this[i]);
    }
    return acc;
    };
    console.log(arr.Reducer((sum, el) => sum + el, 0));

  • @ShivamMishra-mn6cs
    @ShivamMishra-mn6cs 2 ปีที่แล้ว

    Pls make a video on react location and react query any time soon

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

    16:9 This works for both map and forEach so that is not actually a difference.

  • @kunalsolanki597
    @kunalsolanki597 6 หลายเดือนก่อน

    Yes bjri😊

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

    BHAIYA PLZZ INCREASE VIDEO FREQUENCY AND ALSO CAN YOU HELP ME TO GET AN INTERNSHIP AS FRONT END DEVELOPER?

  • @RavindraSingh-lp9pl
    @RavindraSingh-lp9pl ปีที่แล้ว

    @Roadside Coder PR review and code changes kaise krte he please make detailed video on that

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

      ok i will

    • @RavindraSingh-lp9pl
      @RavindraSingh-lp9pl ปีที่แล้ว

      @@RoadsideCoder thankss bro..please make asap as I am giving interviews..big thanks for your reluctant efforts 🎉🍷🍷

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

    why are we pushing the callback into the temp array can you please explain, why could not we just push this[index], instead we push callback?

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

      so this inside the filter method points to the original array and the filter should return a new array which is temp in our case

  • @ultimatum4060
    @ultimatum4060 8 หลายเดือนก่อน

    Hi, Piyush, first of all, thank you so much for this video, I'm just following every video..
    I've one doubt, I copied exact code for reduce function polyfill,..... "return acc * curr" (Multiply) is not working if I put initialValue as 0, if I dont put it, its working.. in original reduce function its working. Not sure why, I'm not getting..
    Can you please suggest where should I do any changes or look into to fix this. Please. :(

  • @durgeshgupta6647
    @durgeshgupta6647 9 หลายเดือนก่อน

    hi, just one correction for the polyfill of reduce method...in ternary operator we are providing initial value as 0 but still else part will be executed because 0 is a falsy value.please correc it...thanks

    • @RoadsideCoder
      @RoadsideCoder  9 หลายเดือนก่อน

      Wont make a difference

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

    How do you prepare for interviews?

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

      I watch Roadside Coder On TH-cam

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

      @@RoadsideCoder 😀. Can you share the roadmap for JS interview preparation?

  • @ajayjaykar7833
    @ajayjaykar7833 8 หลายเดือนก่อน

    # Hi, If I follow this series only then am I ready for an interview as frontend dev?
    I'm a fresher..

    • @RoadsideCoder
      @RoadsideCoder  8 หลายเดือนก่อน

      Yes, for js interviews

  • @Rajkaushik-e3z
    @Rajkaushik-e3z ปีที่แล้ว

    Will this reduce polyfill work for cases like: initialValue = 0 and callback = (acc, curr, i, arr ) => return acc * curr

    • @Rajkaushik-e3z
      @Rajkaushik-e3z ปีที่แล้ว

      We might have to check whether the acc is actually passed or not i.e. checking if it is undefined or not

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

      Obviously it will!

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

    I called the reduce polifill in students object but it seems like initial value parameter is not configured and doesn't work

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

    Bhai, I just want to ask whether they inquire about (DSA) or (OOP) during front-end or MERN-Stack interviews.

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

      both

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

      @@RoadsideCoder dsa and oop just like cpp??

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

    Hey i am curious to know the logic behind your channel name 'roadsidecoder'. How the idea came in your mind to take the name roadsidecoder also want to know the meaning of this?

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

      Haha, is there something wrong with it?

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

    You have made great videos but what made what u are explaining to be like magic is ur UNDERSTANDING of JAVASCRIPT LOGIC. NON of the videos on TH-cam explain LOGIC OF SYNTAX.
    No learner would understand POLYfill with understanding JS SYNTAX LOGIC

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

    💚🧡

  • @hardikdhamija-x1s
    @hardikdhamija-x1s ปีที่แล้ว

    where is video on protypes?

  • @akashKumar-dv9xk
    @akashKumar-dv9xk ปีที่แล้ว

    Make a pdf of this questions and answers

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

    Map filter find reduce

  • @md.biplobsarker9205
    @md.biplobsarker9205 2 ปีที่แล้ว

    Dynamic Clock Javascript Project : github.com/ProgramarWe/Project/tree/main

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

    Bro in 20.42 u said only one student has rollnumber more than 15 but 2 of them are more than 15 u have used && operator and it gives only one student result

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

    Sir , please tickets booking system ka project banaiye MERN Stack me
    I personally request you sir please

  • @webturtles
    @webturtles 9 หลายเดือนก่อน

    const totalMarks = students.reduce((acc, cur, i, arr) => {
    if(cur.marks < 60) {
    cur.marks += 20
    }
    return (cur.marks >= 60) ? (acc + cur.marks) : acc
    }, 0)
    console.log(totalMarks);

  • @aryansihag
    @aryansihag 6 หลายเดือนก่อน

    hindi

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

    go slow , reading book or what