Zig Zag Array (spiral order array)

Sdílet
Vložit
  • čas přidán 24. 07. 2017
  • Zig Zag array is an array in which every element is less than and greater than the next element alternatively. Every element is either greater than or less than its neighbours.

Komentáře • 30

  • @highschool017
    @highschool017 Před 6 lety +13

    Vivekanand Ji, u r an extraordinary teacher like your name !! Such simple n clear videos !! Thanx a lot for devoting your precious time for ppl like us !!

  • @ayushbhardwaj3296
    @ayushbhardwaj3296 Před 3 lety

    Thanks alot for your videos .

  • @sahilarora1794
    @sahilarora1794 Před 5 lety +3

    Thanks for Clear explanation!
    But there are two things which i feel is miswritten or wrongly spoken.
    1- it should be a[i] > a[i+1] or less not i< i+1. We need to consider elements not indexes.
    2- You talk about flipflop, flipflop never always toggles like this, they are just bistable multi vibrator, it should be instead a T Flipflop which is always given an input of 1.
    Anyway thnks for this video!!

  • @tulu1688
    @tulu1688 Před 6 lety +2

    Hi, what is the difference between "zig zag" array and "wave form" array?

  • @vishalmahavratayajula9658

    Very well explained. Keep it up

  • @gyanprakash7680
    @gyanprakash7680 Před 5 lety

    nice sir its too good !

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 Před měsícem

    NICE SUPER EXCELLENT MOTIVATED

  • @gurpreetsodi3948
    @gurpreetsodi3948 Před 5 lety

    nyc algo...keep it up bro

  • @abhrakar3967
    @abhrakar3967 Před 7 lety

    Very good, Sir.

  • @jagginadivya3680
    @jagginadivya3680 Před 5 lety +2

    The way u teaches is nyc

  • @JohnWick-zc5li
    @JohnWick-zc5li Před 6 lety

    very awasome-- pls code as well how about 2=2?

  • @yashpreetbathla4653
    @yashpreetbathla4653 Před 4 lety

    Thank you sir :)

  • @xof8256
    @xof8256 Před 5 lety

    Thank You

  • @ArjunKalidas
    @ArjunKalidas Před 5 lety

    Thank you very much for this video Vivekanand. Can you please post a video explaining the problem "find longest non-repeating subsequence in a string"? Thank you in advance.

  • @deepakbhargav7434
    @deepakbhargav7434 Před 4 lety

    Thank you

  • @deepakbhargav7434
    @deepakbhargav7434 Před 4 lety +1

    What is O(n)

  • @srinithib5764
    @srinithib5764 Před 4 lety

    Thank you so much sir

  • @karankhanna9643
    @karankhanna9643 Před 5 lety +1

    Why zig zag array is important

  • @Thepankaz1
    @Thepankaz1 Před 5 lety +2

    starts at 3:08

  • @ruchirsingh3635
    @ruchirsingh3635 Před 7 lety

    and also make a video on fenwik tree or index binary tree

  • @ruchirsingh3635
    @ruchirsingh3635 Před 7 lety

    sir make a video on segment tree

  • @sarvodaykumar2723
    @sarvodaykumar2723 Před 4 lety

    Sort the array and swap a[i+1] = a[i+2] will this solve this problem

  • @ibrahimshaikh3642
    @ibrahimshaikh3642 Před 4 lety

    Nice

  • @karan6551
    @karan6551 Před 3 lety

    ❤️❤️❤️❤️❤️

  • @kajalkansal2799
    @kajalkansal2799 Před 5 lety

    Need video on longest oscillating subsequence

  • @SansaniKhabarlive
    @SansaniKhabarlive Před 3 lety

    code bata do kisi ke paas ho to please

  • @tejaswiniravva795
    @tejaswiniravva795 Před 4 lety

    Why u shouldn't provide the whole code With execution..??.. Explanation is gud but people need code for better understanding..