238. Product of Array Except Self | Javascript

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

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

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

    Thank you for going through this solution, i was finally to wrap my head around it and your thought process steps help me think about future problems more intuitively.

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

    Absolutely loving it

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

      @Akhil Sarikonda thank you! Will do for sure!

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

      @@ThinkFWD Can you share your github link please.

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

      @Akhil Sarikonda , for sure, my github is : github.com/ThinkFWD , Its somewhat a dormant account ever since microsoft took over github. I try to keep my code locally now. But might consider reposting these solutions if it helps. Let me know and i can post these on my github as well.

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

    Great stuff here. Keep up the videos!

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

      5fivezero0 thank you! I will do for sure

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

    I wish you could explain more while you're writing the code, because I keep getting lost

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

      Same, this was hard to follow x.x

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

    Great explanation - would appreciate it a bit slower on the final solution, how is the cache value calculated?

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

    Thank you for the solution but I'm a bit confused regarding the time complexity. How can the time complexity be O(n) if you're iterating over the array's length twice? Wouldn't the time complexity be O(2n)?

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

    time wasted, the explanation is so poor , for example, output[nums.length-1] = output[output.length-2];
    also, for(let j=num.length-2] is confused as fk