Decode String | Leet code 394 | Theory explained + Python code

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

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

  • @Steven-xx9ik
    @Steven-xx9ik 3 ปีที่แล้ว +4

    Omg I just wanted to say thank you so much for making this video.
    I could not understand this problem at ALL from countless other videos / solutions, but your approach and explanation was crystal clear.
    I actually was given this exact problem for one round in an interview a week ago for a big fintech company, and ended up passing and actually getting the offer!
    I really wanted to express my thanks and to let you know how much you are helping others
    Please keep making these videos 🔥

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

      Thanks you so much for the kind words I'm glad the videos help. Congrats on the offer aswell !!

  • @Apurvsankhyadhar
    @Apurvsankhyadhar 3 ปีที่แล้ว

    This is such a cool explanation.. great job Anish! Got the cue on how to use the multiplication factors and link them to the right string

  • @matthcw8745
    @matthcw8745 3 ปีที่แล้ว

    Excellent explaination!

  • @anindahalder7062
    @anindahalder7062 3 ปีที่แล้ว

    Really comprehensible Explanation.

  • @vai3348-p6t
    @vai3348-p6t 3 ปีที่แล้ว

    Can someone compare iterative solution vs recursive solution, in terms of time complexity and suggest which one is better approach?

  • @cutiex7357
    @cutiex7357 3 ปีที่แล้ว

    You are amazing!

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

    Can you explain the time and space complexity as well?

  • @monalisasha7188
    @monalisasha7188 3 ปีที่แล้ว

    Can you solve "Meeting Rooms II - LeetCode 253" question, please. I really like the way you explain and your approach.

  • @salimzhulkhrni1610
    @salimzhulkhrni1610 3 ปีที่แล้ว

    Nice explanation. What is the time & space complexity?

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

    why are you using an empty array ["",1] you can directly return the last value without multiplying by 1 right.

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

      Yea well i did not multiply it with 1 and I just returned the string just think of it is as a placeholder to hold the end solution instead of 1 you could put 0 aswell and it would t change the result.

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

    thanks a lot bro

  • @PhuTran-nb7me
    @PhuTran-nb7me 4 ปีที่แล้ว

    wow!!!!!

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

    Amazing!