Zig Zag Array (spiral order array)

  Рет қаралды 40,616

Vivekanand Khyade - Algorithm Every Day

Vivekanand Khyade - Algorithm Every Day

7 жыл бұрын

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.

Пікірлер: 30
@highschool017
@highschool017 6 жыл бұрын
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 !!
@sahilarora1794
@sahilarora1794 5 жыл бұрын
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!!
@ayushbhardwaj3296
@ayushbhardwaj3296 3 жыл бұрын
Thanks alot for your videos .
@vishalmahavratayajula9658
@vishalmahavratayajula9658 4 жыл бұрын
Very well explained. Keep it up
@jagginadivya3680
@jagginadivya3680 5 жыл бұрын
The way u teaches is nyc
@tulu1688
@tulu1688 6 жыл бұрын
Hi, what is the difference between "zig zag" array and "wave form" array?
@abhrakar3967
@abhrakar3967 7 жыл бұрын
Very good, Sir.
@gurpreetsodi3948
@gurpreetsodi3948 5 жыл бұрын
nyc algo...keep it up bro
@gyanprakash7680
@gyanprakash7680 5 жыл бұрын
nice sir its too good !
@ganeshjaggineni4097
@ganeshjaggineni4097 Ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@xof8256
@xof8256 5 жыл бұрын
Thank You
@deepakbhargav7434
@deepakbhargav7434 4 жыл бұрын
Thank you
@yashpreetbathla4653
@yashpreetbathla4653 4 жыл бұрын
Thank you sir :)
@srinithib5764
@srinithib5764 3 жыл бұрын
Thank you so much sir
@Thepankaz1
@Thepankaz1 5 жыл бұрын
starts at 3:08
@ArjunKalidas
@ArjunKalidas 5 жыл бұрын
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.
@JohnWick-zc5li
@JohnWick-zc5li 6 жыл бұрын
very awasome-- pls code as well how about 2=2?
@ruchirsingh3635
@ruchirsingh3635 7 жыл бұрын
and also make a video on fenwik tree or index binary tree
@ibrahimshaikh3642
@ibrahimshaikh3642 4 жыл бұрын
Nice
@deepakbhargav7434
@deepakbhargav7434 4 жыл бұрын
What is O(n)
@ruchirsingh3635
@ruchirsingh3635 7 жыл бұрын
sir make a video on segment tree
@sarvodaykumar2723
@sarvodaykumar2723 4 жыл бұрын
Sort the array and swap a[i+1] = a[i+2] will this solve this problem
@sandeepvedavyas8701
@sandeepvedavyas8701 4 жыл бұрын
sorting takes o(nlogn) but this algorithm takes o(n)
@karan6551
@karan6551 3 жыл бұрын
❤️❤️❤️❤️❤️
@karankhanna9643
@karankhanna9643 5 жыл бұрын
Why zig zag array is important
@kajalkansal2799
@kajalkansal2799 5 жыл бұрын
Need video on longest oscillating subsequence
@tejaswiniravva795
@tejaswiniravva795 4 жыл бұрын
Why u shouldn't provide the whole code With execution..??.. Explanation is gud but people need code for better understanding..
@SansaniKhabarlive
@SansaniKhabarlive 3 жыл бұрын
code bata do kisi ke paas ho to please
Find the number which occurs odd number of times in an Array
7:31
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 30 М.
ROTATION of an array (REVERSAL Algorithm)
7:52
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 51 М.
Каха и суп
00:39
К-Media
Рет қаралды 4,2 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 163 МЛН
Print Matrix Diagonally (Diagonal order)
13:22
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 109 М.
Convert array into Zig-Zag fashion | GeeksforGeeks
8:53
GeeksforGeeks
Рет қаралды 43 М.
Print Matrix in spiral form ( 2-D array)
17:25
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 123 М.
Spiral (zig-zag) level order traversal of a binary tree
14:12
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 34 М.
Remove Duplicates from sorted Array
21:22
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 166 М.
206 - Zig Zag Sequence | Debugging | Hackerrank Solution | Python
4:47
Search an element in sorted and rotated array( Find PIVOT)
25:39
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 28 М.
Trick for spiral matrix traversal
10:12
Techdose
Рет қаралды 196 М.
A* Search
12:32
John Levine
Рет қаралды 399 М.
Каха и суп
00:39
К-Media
Рет қаралды 4,2 МЛН