Do Not Attend Amazon Interview Before Watching This! | Robot Bounded in Circle | Leetcode 1041

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

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

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

    🔥🔥🔥

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

      video fullah parunga bro 😅😅

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

    Space complexity - epdi O(1)??, I think it could be O(n). you assigned the char variable n times.EXPLAIN?

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

      java handles garbage handling automatically. when c is created only that will be in memory old c will get disposed of. 😊. you can also have the char outside the loop and only reassign the value in loop and not create every time. no big difference. Hope I answered your question ✔

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

      @@AlgoTamizha Garbage Collector matters💥

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

    Bro apo given string la R or L letter irundhaalae True return paneerlaamla andha logic correct ta dhaan varudhu
    Adha base panni code eludhuna consider pannipaangala....

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

      nice question but adha matum vechu solla mudyadhu, oru R oru L irundha , thirumba same direction ke vandhurum, so oru letter vechu solla mudyadhu

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

    Bro idha python la solve pannanumna, Turtle module use pannalama?

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

      super idea and question😁. but mostly perya companies interview edhuvum package use panna allow panna maatanga and mostly java or c++ expect pannuvanga

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

      @@AlgoTamizha Haha okay bro,J4F.
      But appadiyum try pannan. Input ku etha madhiri turtle move aanadhu.
      Finally,turtle position eppalam initial position ku match aagudhunu compare panni,output a conclude pannan.It worked for me.
      Thanks for your immediate response and sorry for my late response😁.

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

      @@kalaiarasisrinivasan2165 that is cool🔥🔥

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

    Bro enaku oru doubt oru programming language ku endha endha topic begineers intermediate advanced ku varum bro , yennaa oru language la endha level la therinjirukum ndradhu usefulaa irukum bro

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

      apdi solradhu kashtam bro, enna oru language oda basics therinjale endha problem vena solve panlam interview la, enna indha mari problems main ah data strutures and algorithm or common sense based. so based on practice and preference all languages are same. ungaluku edhu natural ah pudikudhunu kandupudichu adhula strong panna useful 😄. hope this makes some sense

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

      @@AlgoTamizha nallaa purinjadhu bro 🙏🏼😉

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

      🙌