Java Program to left rotate the elements of an array

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

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

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

    Great Explanation Bhaii!!!!!! Keep Updating with Array problesm

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

    Time complexity is O(n*n). If u want O(n) use reverse logic.

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

    Great explanation, thanks brother for make the code easy

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

    Thank you for helping me preparing for my exam!

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

      Welcome do subscribe my channel and keep supporting:)
      For any query or help do contact me
      mjmuradali31@gmail.com

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

      @@CodeWithMurad Done :) If you could make a video on Bag in java, that would be great!

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

      @@richardbaba1298 actually as of now I'm working on another video soon I'll make video on this:)

  • @inksquare5033
    @inksquare5033 3 ปีที่แล้ว +4

    Great bro!!! the way u explained the concept was very good and i hope u make videos on oops and other concepts like in Java.

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

      Thanks brother. Yaah I'll definitely gonna make more videos...
      Keep supporting.. ❤💯

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

      @@CodeWithMurad Sure bro👍💯

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

    amazing brother

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

    very nicely explained

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

    Thankss

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

    Thank you brother

  • @samee.62
    @samee.62 2 ปีที่แล้ว +1

    Great

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

    great

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

    Thanks you sir

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

    Nice

  • @amitkumar-s9q4f
    @amitkumar-s9q4f 7 หลายเดือนก่อน

    Time complexity: 0(n) , Space Complexity: 0(1)
    class Solution {
    void reverse(int arr[],int start, int end){
    int i = start,j = end;
    while(i

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

    It is correct solution but it does not pass the time complexity test case

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

    time complexity is heigher

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

    sound?

  • @anandreddy.k9679
    @anandreddy.k9679 8 หลายเดือนก่อน

    not a good one